homelab/fighter/config/vandam/docker-compose.yml
Joey Hafner 1109cfd9e6
All checks were successful
Deploy to Fighter / Deploy (push) Successful in 17s
Deploy to Druid / Deploy (push) Successful in 18s
Deploy to Fighter / Notify (push) Successful in 2s
Deploy to Druid / Notify (push) Successful in 9s
Update all compose files to 3.9 spec
2024-02-15 02:09:59 -08:00

46 lines
900 B
YAML

version: '3.9'
services:
vandam:
image: ghcr.io/floppy/van_dam:latest
container_name: vandam_vandam
env_file:
- path: ./vandam_secrets.env
required: false
volumes:
- ${STL_DIR}:/libraries
networks:
- web
- vandam
labels:
- traefik.http.routers.vandam.rule=Host(`3d.jafner.net`)
- traefik.http.routers.vandam.tls.certresolver=lets-encrypt
- traefik.http.routers.vandam.middlewares=traefik-forward-auth@file
depends_on:
- db
- redis
db:
image: postgres:13
container_name: vandam_postgres
networks:
- vandam
env_file:
- path: ./db_secrets.env
required: false
volumes:
- db_data:/var/lib/postgresql/data
redis:
image: redis:6
networks:
- vandam
container_name: vandam_redis
volumes:
db_data:
networks:
web:
external: true
vandam: