2026-07-13 10:33:28 -04:00
|
|
|
services:
|
|
|
|
|
backend:
|
|
|
|
|
build:
|
|
|
|
|
context: ./backend
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
container_name: scheduler-backend
|
2026-07-15 11:18:38 -04:00
|
|
|
environment:
|
|
|
|
|
HOST_BROWSE_ROOT: ${HOST_BROWSE_ROOT}
|
|
|
|
|
HOST_MOUNT_ROOT: /host
|
2026-07-29 11:08:17 -04:00
|
|
|
DB_PATH: /app/data/scheduler.db
|
|
|
|
|
PYTHONPATH: /app/src
|
2026-07-15 11:18:38 -04:00
|
|
|
volumes:
|
|
|
|
|
- ${HOST_BROWSE_ROOT}:/host
|
2026-07-15 14:56:40 -04:00
|
|
|
- scheduler-db:/app/runtime
|
2026-07-13 10:33:28 -04:00
|
|
|
expose:
|
|
|
|
|
- "8000"
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
|
|
frontend:
|
|
|
|
|
build:
|
|
|
|
|
context: ./frontend
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
container_name: scheduler-frontend
|
|
|
|
|
depends_on:
|
|
|
|
|
- backend
|
|
|
|
|
expose:
|
|
|
|
|
- "80"
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
scheduler-nginx:
|
|
|
|
|
image: nginx:alpine
|
|
|
|
|
container_name: scheduler-nginx
|
|
|
|
|
ports:
|
|
|
|
|
- "8080:80" # Access via VM-IP:8080
|
|
|
|
|
volumes:
|
|
|
|
|
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
|
|
|
|
depends_on:
|
|
|
|
|
- backend
|
|
|
|
|
- frontend
|
|
|
|
|
restart: unless-stopped
|
2026-07-15 11:18:38 -04:00
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
scheduler-db:
|