跟新 nginx 流量切换方式

This commit is contained in:
zk
2026-05-28 09:46:03 +08:00
parent 91992a2443
commit a9638fc7ec
2 changed files with 8 additions and 15 deletions
+2 -4
View File
@@ -5,8 +5,6 @@ services:
restart: unless-stopped
ports:
- "10302:80"
volumes:
- ./proxy_nginx.conf:/etc/nginx/nginx.conf:ro
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost/health"]
interval: 30s
@@ -15,8 +13,8 @@ services:
deploy:
resources:
limits:
memory: 128M
cpus: '0.25'
memory: 256M
cpus: '0.5'
blue:
image: offerpie-web:latest