PlaguPoster/sample/docker-compose.yml

24 lines
605 B
YAML
Raw Normal View History

2022-09-09 16:59:49 +00:00
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"