change nas api port to 4000
This commit is contained in:
@@ -33,7 +33,7 @@ services:
|
||||
#
|
||||
# Access:
|
||||
# UI: http://192.168.31.5:4001/
|
||||
# API: http://192.168.31.5:4002/api/health
|
||||
# API: http://192.168.31.5:4000/api/health
|
||||
build:
|
||||
context: /share/Container/Gemini_Draw
|
||||
dockerfile: Dockerfile
|
||||
@@ -58,8 +58,8 @@ services:
|
||||
ports:
|
||||
# Host port 4001 -> frontend port 3000 in container.
|
||||
- "4001:3000"
|
||||
# Host port 4002 -> API port 3002 in container.
|
||||
- "4002:3002"
|
||||
# Host port 4000 -> API port 3002 in container.
|
||||
- "4000:3002"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "node -e \"fetch('http://127.0.0.1:3002/api/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))\""]
|
||||
interval: 30s
|
||||
|
||||
Reference in New Issue
Block a user