Skip to content

Commit e8cc3b3

Browse files
authored
Merge pull request #57 from TheCulliganMan/main
Add healthcheck to api service
2 parents b3be4b5 + aec7cf1 commit e8cc3b3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,11 @@ services:
200200
- front-end/
201201
ports:
202202
- 8504:8504
203+
healthcheck:
204+
test: ["CMD-SHELL", "wget --no-verbose --tries=1 http://localhost:8504/ || exit 1"]
205+
interval: 5s
206+
timeout: 3s
207+
retries: 5
203208

204209
front-end:
205210
build:

0 commit comments

Comments
 (0)