Init VanDAM
This commit is contained in:
parent
4e29e9dfbd
commit
9cb284700e
1
homelab/server/config/vandam/.env
Normal file
1
homelab/server/config/vandam/.env
Normal file
@ -0,0 +1 @@
|
||||
STL_DIR="/mnt/nas/media/3D Printing/Model Library/Test Library"
|
32
homelab/server/config/vandam/docker-compose.yml
Normal file
32
homelab/server/config/vandam/docker-compose.yml
Normal 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:
|
Loading…
Reference in New Issue
Block a user