mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2024-11-04 23:33:46 +00:00
24 lines
605 B
YAML
24 lines
605 B
YAML
|
version: "3.4"
|
||
|
|
||
|
services:
|
||
|
plaguposter_postgres:
|
||
|
image: postgres
|
||
|
container_name: "plaguposter_postgres"
|
||
|
restart: "unless-stopped"
|
||
|
environment:
|
||
|
POSTGRES_USER: "${PG_USER}"
|
||
|
POSTGRES_PASSWORD: "${PG_PASSWORD}"
|
||
|
POSTGRES_DB: "${PG_DB}"
|
||
|
volumes:
|
||
|
- "${DATA_PATH}/db/:/var/lib/postgresql/"
|
||
|
plaguposter:
|
||
|
image: insanusmokrassar/plaguposter
|
||
|
container_name: "plaguposter"
|
||
|
restart: "unless-stopped"
|
||
|
volumes:
|
||
|
- "${DATA_PATH}/config.json:/config.json"
|
||
|
links:
|
||
|
- "plaguposter_postgres:postgres"
|
||
|
depends_on:
|
||
|
- "plaguposter_postgres"
|