Switch to "VanDAM" library, add to Traefik

This commit is contained in:
Joey Hafner 2022-12-13 18:11:56 -08:00
parent e133a21775
commit ca71497a23
2 changed files with 11 additions and 6 deletions

View File

@ -1 +1 @@
STL_DIR="/mnt/nas/media/3D Printing/Model Library/Test Library"
STL_DIR="/mnt/nas/media/3D Printing/Model Library/VanDAM"

View File

@ -6,12 +6,13 @@ services:
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
networks:
- web
labels:
- traefik.http.routers.vandam.rule=Host(`3d.jafner.net`)
- traefik.http.routers.vandam.tls.certresolver=lets-encrypt
depends_on:
- db
- redis
@ -29,4 +30,8 @@ services:
container_name: vandam_redis
volumes:
db_data:
db_data:
networks:
web:
external: true