PlaguPoster/sample/docker-compose.yml

24 lines
588 B
YAML
Raw Normal View History

2022-09-09 16:59:49 +00:00
version: "3.4"
services:
plaguposter_postgres:
2023-10-31 14:31:47 +00:00
image: postgres:15.4-bullseye
2022-09-09 16:59:49 +00:00
container_name: "plaguposter_postgres"
restart: "unless-stopped"
environment:
2023-10-31 14:31:47 +00:00
POSTGRES_USER: "test"
POSTGRES_PASSWORD: "test"
POSTGRES_DB: "test"
2022-09-09 16:59:49 +00:00
volumes:
2023-10-31 14:31:47 +00:00
- "./db/:/var/lib/postgresql/data"
2022-09-09 16:59:49 +00:00
plaguposter:
2023-10-31 14:31:47 +00:00
image: insanusmokrassar/plaguposter:latest
2022-09-09 16:59:49 +00:00
container_name: "plaguposter"
restart: "unless-stopped"
volumes:
2023-10-31 14:31:47 +00:00
- "./config.json:/config.json"
2022-09-09 16:59:49 +00:00
depends_on:
- "plaguposter_postgres"
2023-11-02 16:06:48 +00:00
links:
- "plaguposter_postgres:postgres"