@@ -94,7 +94,7 @@ services:
94
94
- traefik.http.routers.${SWARM_STACK_NAME}_apiserver_swagger.service=${SWARM_STACK_NAME}_api-server
95
95
- traefik.http.routers.${SWARM_STACK_NAME}_apiserver_swagger.rule=PathPrefix(`/dev/`)
96
96
- traefik.http.routers.${SWARM_STACK_NAME}_apiserver_swagger.entrypoints=simcore_api
97
- - traefik.http.routers.${SWARM_STACK_NAME}_apiserver_swagger.priority=2
97
+ - traefik.http.routers.${SWARM_STACK_NAME}_apiserver_swagger.priority=6
98
98
update_config :
99
99
parallelism : 2
100
100
order : start-first
@@ -153,7 +153,7 @@ services:
153
153
- traefik.http.routers.${SWARM_STACK_NAME}_static_webserver_freshping.service=${SWARM_STACK_NAME}_static_webserver_freshping
154
154
- traefik.http.services.${SWARM_STACK_NAME}_static_webserver_freshping.loadbalancer.server.port=8000
155
155
- traefik.http.routers.${SWARM_STACK_NAME}_static_webserver_freshping.entrypoints=http
156
- - traefik.http.routers.${SWARM_STACK_NAME}_static_webserver_freshping.priority=10 # High number means high priority
156
+ - traefik.http.routers.${SWARM_STACK_NAME}_static_webserver_freshping.priority=12 # High number means high priority
157
157
- traefik.http.routers.${SWARM_STACK_NAME}_static_webserver_freshping.middlewares=${SWARM_STACK_NAME}_gzip@swarm,${SWARM_STACK_NAME}_static_webserver_retry,${SWARM_STACK_NAME}_static_webserver_prefix
158
158
update_config :
159
159
parallelism : 2
@@ -229,7 +229,7 @@ services:
229
229
- traefik.http.routers.${SWARM_STACK_NAME}_webserver_swagger.middlewares=${SWARM_STACK_NAME}_gzip@swarm, ${SWARM_STACK_NAME_NO_HYPHEN}_sslheader
230
230
- traefik.http.routers.${SWARM_STACK_NAME}_webserver_swagger.rule=PathPrefix(`/dev/`)
231
231
- traefik.http.routers.${SWARM_STACK_NAME}_webserver_swagger.entrypoints=http
232
- - traefik.http.routers.${SWARM_STACK_NAME}_webserver_swagger.priority=2
232
+ - traefik.http.routers.${SWARM_STACK_NAME}_webserver_swagger.priority=6
233
233
- traefik.http.middlewares.${SWARM_STACK_NAME_NO_HYPHEN}_webserver_swagger_auth.basicauth.users=${TRAEFIK_USER}:${TRAEFIK_PASSWORD}
234
234
- traefik.http.routers.${SWARM_STACK_NAME}_webserver_swagger.middlewares=${SWARM_STACK_NAME_NO_HYPHEN}_webserver_swagger_auth, ${SWARM_STACK_NAME_NO_HYPHEN}_sslheader
235
235
update_config : &webserver_update_config
@@ -726,7 +726,7 @@ services:
726
726
- traefik.http.routers.${SWARM_STACK_NAME}_simcore_http.middlewares=ops_gzip@swarm, ops_sslheader@swarm, ops_ratelimit@swarm
727
727
- traefik.http.routers.${SWARM_STACK_NAME}_simcore_http.service=${SWARM_STACK_NAME}_simcore_http
728
728
- traefik.http.routers.${SWARM_STACK_NAME}_simcore_http.rule=((${DEPLOYMENT_FQDNS_CAPTURE_TRAEFIK_RULE_CATCHALL}) && PathPrefix(`/`)) || ( (PathPrefix(`/dashboard`) || PathPrefix(`/api`) ) && Host(`traefikdashboard.${MACHINE_FQDN}`))
729
- - traefik.http.routers.${SWARM_STACK_NAME}_simcore_http.priority=1 # Lowest possible priority, maintenance page takes priority "2" (higher, maintenance page has precedent) if it is up
729
+ - traefik.http.routers.${SWARM_STACK_NAME}_simcore_http.priority=3
730
730
# oSparc publicAPI
731
731
- traefik.http.routers.${SWARM_STACK_NAME}_simcore_api.rule=(${DEPLOYMENT_API_DOMAIN_CAPTURE_TRAEFIK_RULE}) && PathPrefix(`/`)
732
732
- traefik.http.routers.${SWARM_STACK_NAME}_simcore_api.entrypoints=https
@@ -785,7 +785,7 @@ services:
785
785
- traefik.http.routers.${SWARM_STACK_NAME}_traefik_api.service=api@internal
786
786
- traefik.http.routers.${SWARM_STACK_NAME}_traefik_api.rule=(PathPrefix(`/dashboard`) || PathPrefix(`/api`) ) && Host(`traefikdashboard.${MACHINE_FQDN}`)
787
787
- traefik.http.routers.${SWARM_STACK_NAME}_traefik_api.entrypoints=http
788
- - traefik.http.routers.${SWARM_STACK_NAME}_traefik_api.priority=2
788
+ - traefik.http.routers.${SWARM_STACK_NAME}_traefik_api.priority=6
789
789
- traefik.http.routers.${SWARM_STACK_NAME}_traefik_api.middlewares=${SWARM_STACK_NAME}_auth@swarm, ${SWARM_STACK_NAME}_whitelist_ips@swarm
790
790
- traefik.http.services.${SWARM_STACK_NAME}_traefik_api.loadbalancer.server.port=8080
791
791
# Middlewares
@@ -829,7 +829,7 @@ services:
829
829
- traefik.http.services.${SWARM_STACK_NAME}_whoami.loadbalancer.server.port=80
830
830
- traefik.http.routers.${SWARM_STACK_NAME}_whoami.rule=PathPrefix(`/whoami`)
831
831
- traefik.http.routers.${SWARM_STACK_NAME}_whoami.entrypoints=http
832
- - traefik.http.routers.${SWARM_STACK_NAME}_whoami.priority=2
832
+ - traefik.http.routers.${SWARM_STACK_NAME}_whoami.priority=6
833
833
- traefik.http.routers.${SWARM_STACK_NAME}_whoami.middlewares=${SWARM_STACK_NAME}_auth@swarm,${SWARM_STACK_NAME}_gzip@swarm
834
834
update_config :
835
835
parallelism : 2
0 commit comments