diff --git a/docker-compose.yml b/docker-compose.yml index 750f071..9dd4694 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -266,10 +266,6 @@ services: - traefik.http.routers.api.entrypoints=web - traefik.http.services.api.loadbalancer.server.port=8000 - networks: - - traefik_network - - default - depends_on: postgres: condition: service_healthy @@ -286,6 +282,8 @@ services: # Developer Mode panel on the login page — dev-only aid. Production # builds MUST leave this false (identity comes from Casdoor tokens). DEV_LOGIN_ENABLED: ${DEV_LOGIN_ENABLED:-false} + # Registry overridable for networks where npmmirror is unreachable. + NPM_REGISTRY: ${NPM_REGISTRY:-https://registry.npmmirror.com} # Observability (build-time baked; empty = disabled) VITE_OPENPANEL_URL: ${OPENPANEL_PUBLIC_URL:-} VITE_OPENPANEL_CLIENT_ID: ${OPENPANEL_CLIENT_ID:-}