mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-08-11 19:32:52 +02:00
Traefik fixes
This commit is contained in:
@@ -20,6 +20,7 @@ services:
|
||||
- "traefik.http.routers.${COMPOSE_PROJECT_NAME:-hub}-api.rule=Host(`${TRAEFIK_DOMAIN}`) && (PathPrefix(`/api`) || PathPrefix(`/metrics`) || PathPrefix(`/health`))"
|
||||
- "traefik.http.routers.${COMPOSE_PROJECT_NAME:-hub}-api.entrypoints=websecure"
|
||||
- "traefik.http.routers.${COMPOSE_PROJECT_NAME:-hub}-api.tls=true"
|
||||
- "traefik.http.routers.${COMPOSE_PROJECT_NAME:-hub}-api.tls.certresolver=default"
|
||||
- "traefik.docker.network=proxy-net"
|
||||
|
||||
web:
|
||||
@@ -29,5 +30,5 @@ services:
|
||||
- "traefik.http.routers.${COMPOSE_PROJECT_NAME:-hub}-web.rule=Host(`${TRAEFIK_DOMAIN}`)"
|
||||
- "traefik.http.routers.${COMPOSE_PROJECT_NAME:-hub}-web.entrypoints=websecure"
|
||||
- "traefik.http.routers.${COMPOSE_PROJECT_NAME:-hub}-web.tls=true"
|
||||
- "traefik.http.routers.${COMPOSE_PROJECT_NAME:-hub}-web.priority=1"
|
||||
- "traefik.http.routers.${COMPOSE_PROJECT_NAME:-hub}-web.tls.certresolver=default"
|
||||
- "traefik.docker.network=proxy-net"
|
||||
|
||||
Reference in New Issue
Block a user