Traefik define routing networks
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-22 18:56:17 +01:00
parent 89670b5987
commit c71f41230f
23 changed files with 35 additions and 4 deletions

View File

@ -9,6 +9,7 @@ services:
- data:/app/data
labels:
- "traefik.enable=true"
- "traefik.docker.network=${COMPOSE_PROJECT_NAME}_default"
- "traefik.http.routers.kuma-{{ _name }}.rule={{ _urls | map('regex_replace', '^(.*)$', 'Host(`\\1`)') | join(' || ') }}"
- "traefik.http.routers.kuma-{{ _name }}.entryPoints=websecure"
- "traefik.http.services.kuma-{{ _name }}.loadbalancer.server.port=3001"