Skip to content

Commit

Permalink
Port 5000 is non-kosher on macOS anymore, switch to 8000
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Sep 17, 2024
1 parent 9e271dd commit 4ab35bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.override.sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
# Backend binds to 8001 by default, change to use other ports.
# Make sure to update, TM_APP_API_URL=http://127.0.0.1:8001 in tasking-manager.env accordingly.
ports:
- 5000:5000
- 8000:8000

tm-frontend:
build:
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ services:
- tasking-manager.env
restart: unless-stopped
healthcheck:
test: curl --fail http://localhost:5000 || exit 1
test: curl --fail http://localhost:8000 || exit 1
interval: 10s
retries: 5
start_period: 10s
Expand All @@ -56,7 +56,7 @@ services:
memory: 100M
labels:
- traefik.http.routers.backend.rule=(Host(`127.0.0.1`) || Host(`localhost`)) && PathPrefix(`/api/`)
- traefik.http.services.backend.loadbalancer.server.port=5000
- traefik.http.services.backend.loadbalancer.server.port=8000
networks:
- tm-net

Expand Down

0 comments on commit 4ab35bb

Please sign in to comment.