Skip to content

Commit

Permalink
Update Traefik configuration for frontend service
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne committed Feb 14, 2024
1 parent 795aeae commit 94ee8dc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,12 @@ services:
- ./frontend:/frontend/src
labels:
- "traefik.enable=true"
- traefik.http.routers.whoami.rule=Host(`kurama-chat.com`)
- traefik.http.routers.whoami.entrypoints=websecure
- traefik.http.routers.whoami.tls.certresolver=letsencrypt
- traefik.http.routers.frontend.rule=Host(`kurama-chat.com`)
- traefik.http.routers.frontend.entrypoints=websecure
- traefik.http.routers.frontend.tls.certresolver=letsencrypt
- traefik.http.routers.frontend.tls=true
- traefik.http.routers.frontend.tls.domains[0].main=kurama-chat.com
- traefik.http.services.frontend.loadbalancer.server.port=3000
networks:
- web
environment:
Expand Down

0 comments on commit 94ee8dc

Please sign in to comment.