change nas api port to 4000
This commit is contained in:
@@ -33,7 +33,7 @@ services:
|
|||||||
#
|
#
|
||||||
# Access:
|
# Access:
|
||||||
# UI: http://192.168.31.5:4001/
|
# 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:
|
build:
|
||||||
context: /share/Container/Gemini_Draw
|
context: /share/Container/Gemini_Draw
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@@ -58,8 +58,8 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
# Host port 4001 -> frontend port 3000 in container.
|
# Host port 4001 -> frontend port 3000 in container.
|
||||||
- "4001:3000"
|
- "4001:3000"
|
||||||
# Host port 4002 -> API port 3002 in container.
|
# Host port 4000 -> API port 3002 in container.
|
||||||
- "4002:3002"
|
- "4000:3002"
|
||||||
healthcheck:
|
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))\""]
|
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
|
interval: 30s
|
||||||
|
|||||||
Reference in New Issue
Block a user