diff --git a/homelab/server/config/vandam/.env b/homelab/server/config/vandam/.env new file mode 100644 index 00000000..59db2a88 --- /dev/null +++ b/homelab/server/config/vandam/.env @@ -0,0 +1 @@ +STL_DIR="/mnt/nas/media/3D Printing/Model Library/Test Library" \ No newline at end of file diff --git a/homelab/server/config/vandam/docker-compose.yml b/homelab/server/config/vandam/docker-compose.yml new file mode 100644 index 00000000..4e4d7d1f --- /dev/null +++ b/homelab/server/config/vandam/docker-compose.yml @@ -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: \ No newline at end of file