fix(prod): 指定 Traefik 网络避免后端转发卡住
This commit is contained in:
Vendored
+1
@@ -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" \\
|
||||||
|
|||||||
Reference in New Issue
Block a user