Skip to content

Commit

Permalink
Merge pull request docker#57 from TheCulliganMan/main
Browse files Browse the repository at this point in the history
Add healthcheck to api service
  • Loading branch information
oskarhane authored Nov 9, 2023
2 parents b3be4b5 + aec7cf1 commit e8cc3b3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ services:
- front-end/
ports:
- 8504:8504
healthcheck:
test: ["CMD-SHELL", "wget --no-verbose --tries=1 http://localhost:8504/ || exit 1"]
interval: 5s
timeout: 3s
retries: 5

front-end:
build:
Expand Down

0 comments on commit e8cc3b3

Please sign in to comment.