resolve conflict
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
services:
|
||||
backend:
|
||||
build: ./server
|
||||
container_name: dashboard-backend
|
||||
ports:
|
||||
- "3001:3001"
|
||||
environment:
|
||||
# Root path on the Docker host to mount inside the container.
|
||||
# Dashboard VM: HOST_BROWSE_ROOT=/home/wnc
|
||||
# Windows Docker Desktop: HOST_BROWSE_ROOT=C:/Users
|
||||
# Then enter paths under /host/... in the dashboard settings.
|
||||
- HOST_BROWSE_ROOT=${HOST_BROWSE_ROOT:-/home/wnc}
|
||||
- HOST_MOUNT_ROOT=/host
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ./server
|
||||
target: /app
|
||||
- type: bind
|
||||
source: ${HOST_BROWSE_ROOT:-/home/wnc}
|
||||
target: /host
|
||||
restart: unless-stopped
|
||||
|
||||
frontend:
|
||||
build: ./dashboard
|
||||
container_name: dashboard-frontend
|
||||
ports:
|
||||
- "5173:80"
|
||||
depends_on:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user