homelab/fighter/config/vandam/docker-compose.yml

46 lines
898 B
YAML
Raw Normal View History

2022-12-13 17:44:26 -08:00
version: "3"
services:
vandam:
image: ghcr.io/floppy/van_dam:latest
container_name: vandam_vandam
env_file:
- path: ./vandam_secrets.env
required: false
2022-12-13 17:44:26 -08:00
volumes:
- ${STL_DIR}:/libraries
networks:
- web
2023-03-23 14:50:18 -07:00
- vandam
labels:
- traefik.http.routers.vandam.rule=Host(`3d.jafner.net`)
- traefik.http.routers.vandam.tls.certresolver=lets-encrypt
2022-12-13 18:13:46 -08:00
- traefik.http.routers.vandam.middlewares=traefik-forward-auth@file
2022-12-13 17:44:26 -08:00
depends_on:
- db
- redis
db:
image: postgres:13
container_name: vandam_postgres
2022-12-13 18:15:40 -08:00
networks:
2023-03-23 14:50:18 -07:00
- vandam
2022-12-13 17:44:26 -08:00
env_file:
- path: ./db_secrets.env
required: false
2022-12-13 17:44:26 -08:00
volumes:
- db_data:/var/lib/postgresql/data
redis:
image: redis:6
2022-12-13 18:15:40 -08:00
networks:
2023-03-23 14:50:18 -07:00
- vandam
2022-12-13 17:44:26 -08:00
container_name: vandam_redis
volumes:
db_data:
networks:
web:
2022-12-13 18:15:40 -08:00
external: true
2023-03-23 14:50:18 -07:00
vandam: