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

46 lines
1.1 KiB
YAML
Raw Normal View History

2024-02-15 02:09:59 -08:00
version: '3.9'
2022-12-13 17:44:26 -08:00
services:
vandam:
2024-07-16 14:25:20 -07:00
image: ghcr.io/floppy/van_dam@sha256:c076f85cc1360dbdb33bbcfc8d4d1747779b04dee8734cff827bbe858ab01f58
2022-12-13 17:44:26 -08:00
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:
2024-07-16 14:25:20 -07:00
image: postgres@sha256:4b4da96c37fefd6f28c3f58e7470bbc6d2cb34ac5641b9df7221d962eb4bc55d # should be :13
2022-12-13 17:44:26 -08:00
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:
2024-07-16 14:25:20 -07:00
image: redis@sha256:1b503bb77079ba644371969e06e1a6a1670bb34c2251107c0fc3a21ef9fdaeca # should be :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: