move production to port 8453 and dev to port 8080
This commit is contained in:
+2
-5
@@ -3,7 +3,6 @@ services:
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
container_name: scheduler-backend
|
||||
environment:
|
||||
HOST_BROWSE_ROOT: ${HOST_BROWSE_ROOT}
|
||||
HOST_MOUNT_ROOT: /host
|
||||
@@ -18,7 +17,7 @@ services:
|
||||
DEFAULT_VIEWER_PASSWORD: ${DEFAULT_VIEWER_PASSWORD}
|
||||
volumes:
|
||||
- ${HOST_BROWSE_ROOT}:/host
|
||||
- scheduler-db:/app/runtime
|
||||
- scheduler-db:/app/data
|
||||
expose:
|
||||
- "8000"
|
||||
restart: unless-stopped
|
||||
@@ -27,7 +26,6 @@ services:
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
container_name: scheduler-frontend
|
||||
depends_on:
|
||||
- backend
|
||||
expose:
|
||||
@@ -35,9 +33,8 @@ services:
|
||||
restart: unless-stopped
|
||||
scheduler-nginx:
|
||||
image: nginx:alpine
|
||||
container_name: scheduler-nginx
|
||||
ports:
|
||||
- "8080:80" # Access via VM-IP:8080
|
||||
- "8453:80" # Access via VM-IP:8453
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user