Skip to content

Commit

Permalink
fix(docker): add traefik host
Browse files Browse the repository at this point in the history
  • Loading branch information
koromerzhin committed Jun 30, 2021
1 parent 6bd21d1 commit 1c65be0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ services:
deploy:
labels:
- "traefik.enable=true"
- "traefik.http.routers.streamchat.rule=Host(`streamchat.traefik.me`)"
- "traefik.http.routers.streamchat.rule=HostRegexp(`streamchat.traefik.me`, `streamchat.{ip:.*}.traefik.me`)"
- "traefik.http.routers.streamchat-tls.tls.domains[0].main=streamchat.traefik.me"
- "traefik.http.routers.streamchat-tls.tls.domains[0].sans=streamchat-*.traefik.me"
- "traefik.http.services.streamchat.loadbalancer.server.port=80"
Expand All @@ -53,7 +53,7 @@ services:
deploy:
labels:
- "traefik.enable=true"
- "traefik.http.routers.back-streamchat.rule=Host(`back-streamchat.traefik.me`)"
- "traefik.http.routers.back-streamchat.rule=HostRegexp(`back-streamchat.traefik.me`, `streamchat.{ip:.*}.traefik.me`)"
- "traefik.http.routers.back-streamchat-tls.tls.domains[0].main=back-streamchat.traefik.me"
- "traefik.http.routers.back-streamchat-tls.tls.domains[0].sans=back-streamchat-*.traefik.me"
- "traefik.http.services.back-streamchat.loadbalancer.server.port=3000"

0 comments on commit 1c65be0

Please sign in to comment.