Jafner.net/homelab/server/config/vandam/docker-compose.yml
2022-12-13 17:44:26 -08:00

32 lines
589 B
YAML

version: "3"
services:
vandam:
image: ghcr.io/floppy/van_dam:latest
container_name: vandam_vandam
env_file:
- vandam_secrets.env
ports:
- 3214:3214
volumes:
- ${STL_DIR}:/libraries
environment:
DATABASE_URL: postgresql://van_dam:password@db/van_dam?pool=5
depends_on:
- db
- redis
db:
image: postgres:13
container_name: vandam_postgres
env_file:
- db_secrets.env
volumes:
- db_data:/var/lib/postgresql/data
redis:
image: redis:6
container_name: vandam_redis
volumes:
db_data: