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