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:
|
2024-02-15 02:05:23 -08:00
|
|
|
- path: ./vandam_secrets.env
|
|
|
|
required: false
|
2022-12-13 17:44:26 -08:00
|
|
|
volumes:
|
|
|
|
- ${STL_DIR}:/libraries
|
2022-12-13 18:11:56 -08:00
|
|
|
networks:
|
|
|
|
- web
|
2023-03-23 14:50:18 -07:00
|
|
|
- vandam
|
2022-12-13 18:11:56 -08:00
|
|
|
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:
|
2024-02-15 02:05:23 -08:00
|
|
|
- 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:
|
2022-12-13 18:11:56 -08:00
|
|
|
db_data:
|
|
|
|
|
|
|
|
networks:
|
|
|
|
web:
|
2022-12-13 18:15:40 -08:00
|
|
|
external: true
|
2023-03-23 14:50:18 -07:00
|
|
|
vandam:
|