更新部署端口
This commit is contained in:
@ -4,14 +4,14 @@ services:
|
|||||||
image: watch-stock-list:latest
|
image: watch-stock-list:latest
|
||||||
container_name: watch-stock-list-app
|
container_name: watch-stock-list-app
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "7799:7799"
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- PORT=3000
|
- PORT=7799
|
||||||
- HOSTNAME=0.0.0.0
|
- HOSTNAME=0.0.0.0
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:3000"]
|
test: ["CMD", "curl", "-f", "http://localhost:7799"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
Reference in New Issue
Block a user