Skip to content

Commit

Permalink
Remove restart on failure
Browse files Browse the repository at this point in the history
Added --wait to docker-compose command, which supposedly will cause the other containers to wait for my nominatim service to pass its health check. Removed restart on failure, which isn't necessary with wait.
  • Loading branch information
nataliejschultz committed Aug 22, 2023
1 parent ed91603 commit b072a89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nominatim-docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
run: echo Smoke test

- name: Test nominatim
run: docker-compose -f emission/integrationTests/docker-compose.yml up --exit-code-from web-server
run: docker-compose -f emission/integrationTests/docker-compose.yml up --wait
2 changes: 1 addition & 1 deletion emission/integrationTests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
networks:
- emission
- nominatim
restart: on-failure

db:
image: mongo:4.4.0
ports:
Expand Down

0 comments on commit b072a89

Please sign in to comment.