Bind PolyWeather services to loopback

This commit is contained in:
2569718930@qq.com
2026-05-31 19:46:00 +08:00
parent 8d26afdec0
commit d3f444dbf6
2 changed files with 11 additions and 2 deletions
+2 -2
View File
@@ -79,7 +79,7 @@ services:
timeout: 5s
image: ghcr.io/yangyuan-zhen/polyweather-frontend:${IMAGE_TAG:-latest}
ports:
- 3001:3000
- "127.0.0.1:3001:3000"
restart: unless-stopped
polyweather_web:
command: python web/app.py
@@ -104,7 +104,7 @@ services:
timeout: 5s
image: ghcr.io/yangyuan-zhen/polyweather-backend:${IMAGE_TAG:-latest}
ports:
- 8000:8000
- "127.0.0.1:8000:8000"
restart: unless-stopped
user: ${UID:-1000}:${GID:-1000}
volumes: