Skip to content

Commit

Permalink
Add healthcheck for the client
Browse files Browse the repository at this point in the history
Signed-off-by: Benoit Donneaux <[email protected]>
  • Loading branch information
btlogy committed Feb 5, 2024
1 parent 0f64271 commit 0a34b75
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ services:
- mailbox
- relay
- feedback-api
healthcheck:
test:
[ "CMD", "curl", "-fk",
"https://localhost:8080/",
"https://localhost:8080/v1",
"https://localhost:8080/mailbox",
"https://localhost:8080/relay",
]
interval: 30s
timeout: 10s
retries: 1
feedback-api:
build: ./feedback-api
command:
Expand Down

0 comments on commit 0a34b75

Please sign in to comment.