Init VanDAM

This commit is contained in:
Joey Hafner 2022-12-13 17:44:26 -08:00
parent 4e29e9dfbd
commit 9cb284700e
2 changed files with 33 additions and 0 deletions

View File

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

View File

@ -0,0 +1,32 @@
version: "3"
services:
vandam:
image: ghcr.io/floppy/van_dam:latest
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
depends_on:
- db
- redis
db:
image: postgres:13
container_name: vandam_postgres
env_file:
- db_secrets.env
volumes:
- db_data:/var/lib/postgresql/data
redis:
image: redis:6
container_name: vandam_redis
volumes:
db_data: