更新部署端口

This commit is contained in:
2025-07-29 13:54:02 +08:00
parent e6fa94efa0
commit 0a8058b882

View File

@ -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