fix(prod): 指定 Traefik 网络避免后端转发卡住

This commit is contained in:
2026-04-12 18:55:27 +08:00
parent 6db049670b
commit 4c6167281f
Vendored
+1
View File
@@ -35,6 +35,7 @@ pipeline {
--restart=always \\ --restart=always \\
-e SPRING_PROFILES_ACTIVE=prod \\ -e SPRING_PROFILES_ACTIVE=prod \\
--label "traefik.enable=true" \\ --label "traefik.enable=true" \\
--label "traefik.docker.network=traefik-public" \\
--label 'traefik.http.routers.lpt-api.rule=Host(`lpt.cat-shark.xyz`) && PathPrefix(`/api`)' \\ --label 'traefik.http.routers.lpt-api.rule=Host(`lpt.cat-shark.xyz`) && PathPrefix(`/api`)' \\
--label "traefik.http.routers.lpt-api.entrypoints=websecure" \\ --label "traefik.http.routers.lpt-api.entrypoints=websecure" \\
--label "traefik.http.routers.lpt-api.tls.certresolver=le" \\ --label "traefik.http.routers.lpt-api.tls.certresolver=le" \\