Skip to content

Commit

Permalink
Fix healthcheck urls with cookiecutter values
Browse files Browse the repository at this point in the history
  • Loading branch information
trottomv committed Jan 10, 2024
1 parent afd54b3 commit 42d0154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions {{cookiecutter.project_dirname}}/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- PYTHONDEVMODE
- PYTHONTRACEMALLOC
healthcheck:
test: curl --fail --head http://backend:8000/{{ cookiecutter.backend_service_slug }}/health/ || exit 1
test: curl --fail --head http://{{ cookiecutter.backend_service_slug }}:8000/{{ cookiecutter.backend_service_slug }}/health/ || exit 1
interval: 30s
start_period: 5s
timeout: 5s
Expand All @@ -54,7 +54,7 @@ services:
- NEXT_PUBLIC_PROJECT_URL=${PROJECT_URL:-https://localhost:8443}
- REACT_ENVIRONMENT=${REACT_ENVIRONMENT:-Development}
healthcheck:
test: wget -O- -q http://localhost:3000/{{ cookiecutter.frontend_service_slug }}/health || exit 1
test: wget -O- -q http://{{ cookiecutter.frontend_service_slug }}:3000/{{ cookiecutter.frontend_service_slug }}/health || exit 1
interval: 30s
timeout: 5s
start_period: 5s
Expand Down

0 comments on commit 42d0154

Please sign in to comment.