fix:fix some connect bug

This commit is contained in:
bbh
2025-08-04 23:23:43 +08:00
parent f478ffe320
commit fb36c9fd41
4 changed files with 39 additions and 31 deletions

View File

@@ -140,11 +140,12 @@ services:
networks:
- traefik-public
- default
env_file:
- .env
build:
context: ./frontend
args:
- VITE_API_URL=http://api.${DOMAIN?Variable not set}
# - VITE_API_URL=https://api.${DOMAIN?Variable not set}
- VITE_API_URL=https://api.${DOMAIN?Variable not set}
- NODE_ENV=production
labels:
- traefik.enable=true
@@ -163,6 +164,9 @@ services:
# Enable redirection for HTTP and HTTPS
- traefik.http.routers.${STACK_NAME?Variable not set}-frontend-http.middlewares=https-redirect
volumes:
app-db-data: