Skip to content

Commit

Permalink
Add 127.0.0.1 as a possible host
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Smock <tsmock@meta.com>
  • Loading branch information
tsmock authored and dakotabenjamin committed Aug 29, 2023
1 parent 125d080 commit ed0c178
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ services:
volumes:
- ".:/usr/src/app"
labels:
- traefik.http.routers.frontend.rule=Host(`localhost`)
- traefik.http.routers.frontend.rule=Host(`localhost`) || Host(`127.0.0.1`)
- traefik.http.services.frontend.loadbalancer.server.port=80
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
container_name: backend
restart: always
labels:
- traefik.http.routers.backend.rule=Host(`localhost`) && PathPrefix(`/api/`)
- traefik.http.routers.backend.rule=(Host(`127.0.0.1`) || Host(`localhost`)) && PathPrefix(`/api/`)
- traefik.http.services.backend.loadbalancer.server.port=5000

migration:
Expand All @@ -33,8 +33,8 @@ services:
networks:
- tm-web
labels:
- traefik.http.routers.frontend.rule=Host(`localhost`)
- traefik.http.services.frontend.loadbalancer.server.port=80
- traefik.http.routers.frontend.rule=Host(`127.0.0.1`) || Host(`localhost`)
- traefik.http.services.frontend.loadbalancer.server.port=3000

postgresql:
image: postgis/postgis:14-3.3
Expand Down

0 comments on commit ed0c178

Please sign in to comment.