Skip to content

Commit

Permalink
Remove unnecessary Traefik labels and update NEXT_PUBLIC_BASE_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne committed Feb 7, 2024
1 parent 945c59f commit b5a0852
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ services:
- ORIGIN_URL=${ORIGIN_URL}
ports:
- 4000:4000
labels:
- "traefik.enable=true"
- "traefik.http.routers.backend.rule=PathPrefix(`/`)"
- "traefik.http.routers.backend.entrypoints=websecure"
- "traefik.http.routers.backend.tls=true"
- "traefik.http.services.backend.loadbalancer.server.port=4000"

frontend:
container_name: frontend
Expand Down
2 changes: 1 addition & 1 deletion playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
MONGODB_USER={{ MONGODB_USER }}
MONGODB_USER_PASSWORD={{ MONGODB_USER_PASSWORD }}
SITE_ADDRESS={{ SITE_ADDRESS }}
NEXT_PUBLIC_BASE_URL={{ SITE_ADDRESS }}
NEXT_PUBLIC_BASE_URL={{ NEXT_PUBLIC_BASE_URL }}
PORT={{ PORT }}
DEBUG={{ DEBUG }}
Expand Down

0 comments on commit b5a0852

Please sign in to comment.