Fix router name collision in Compose example
This commit is contained in:
parent
0dc88b332f
commit
806037bdde
@ -149,8 +149,8 @@ services:
|
||||
- FRONTEND_URL=${VHOST} # if needed to configure CORS for example
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}.rule=Host(`api-${VHOST}`)"
|
||||
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.routers.api-${COMPOSE_PROJECT_NAME}.rule=Host(`api-${VHOST}`)"
|
||||
- "traefik.http.routers.api-${COMPOSE_PROJECT_NAME}.tls.certresolver=letsencrypt"
|
||||
|
||||
db:
|
||||
image: mariadb:latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user