Files
test_dashboard/docker-compose.yml
T

30 lines
800 B
YAML
Raw Normal View History

2026-05-26 14:36:34 -04:00
services:
backend:
build: ./server
container_name: dashboard-backend
ports:
- "3001:3001"
2026-05-28 12:34:01 -04:00
environment:
2026-05-28 15:14:21 -04:00
# Root path on the Docker host to mount inside the container.
# Linux VM: HOST_BROWSE_ROOT=/home/wnc
# Windows Docker Desktop: HOST_BROWSE_ROOT=C:/Users
# Then enter paths under /host/... in the dashboard settings.
2026-06-01 14:24:48 -04:00
- HOST_BROWSE_ROOT=${HOST_BROWSE_ROOT}
2026-05-28 12:34:01 -04:00
- HOST_MOUNT_ROOT=/host
2026-05-26 14:36:34 -04:00
volumes:
2026-05-28 11:01:47 -04:00
- type: bind
source: ./server
target: /app
2026-05-28 12:34:01 -04:00
- type: bind
2026-06-01 14:24:48 -04:00
source: ${HOST_BROWSE_ROOT}
2026-05-28 12:34:01 -04:00
target: /host
2026-05-26 14:36:34 -04:00
restart: unless-stopped
frontend:
build: ./dashboard
container_name: dashboard-frontend
ports:
- "5173:80"
depends_on:
- backend
restart: unless-stopped