This commit is contained in:
Piotr Biernat 2022-12-05 00:23:18 +01:00
parent dbc67e44f2
commit aa5b8bdadb

View File

@ -7,13 +7,13 @@ services:
hostname: egommerce.pbiernat.dev hostname: egommerce.pbiernat.dev
environment: environment:
- APP_DOMAIN=egommerce.pbiernat.dev - APP_DOMAIN=egommerce.pbiernat.dev
labels: # labels:
- "traefik.enable=true" # - "traefik.enable=true"
- "traefik.http.routers.api-gateway-dashboard.rule=PathPrefix(`/`)" # - "traefik.http.routers.api-gateway-dashboard.rule=PathPrefix(`/`)"
- "traefik.http.routers.api-gateway-dashboard.service=dashboard@internal" # - "traefik.http.routers.api-gateway-dashboard.service=dashboard@internal"
- "traefik.http.routers.api-gateway-dashboard.middlewares=dashboard_redirect@internal,dashboard_stripprefix@internal" # - "traefik.http.routers.api-gateway-dashboard.middlewares=dashboard_redirect@internal,dashboard_stripprefix@internal"
- "traefik.http.routers.api-gateway-api.rule=PathPrefix(`/api`)" # - "traefik.http.routers.api-gateway-api.rule=PathPrefix(`/api`)"
- "traefik.http.routers.api-gateway-api.service=api@internal" # - "traefik.http.routers.api-gateway-api.service=api@internal"
# - "traefik.http.routers.api-gateway-api.middlewares=PathPrefix(`/`)" # - "traefik.http.routers.api-gateway-api.middlewares=PathPrefix(`/`)"
# - "traefik.http.routers.api-gateway.tls=true" # - "traefik.http.routers.api-gateway.tls=true"
# - "traefik.http.routers.api-gateway.rule=Headers(`X-API-SERVICE`, `admin-gateway`)" # - "traefik.http.routers.api-gateway.rule=Headers(`X-API-SERVICE`, `admin-gateway`)"