Skip to content

Commit

Permalink
add healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
zachary822 committed Dec 2, 2023
1 parent 913a5a7 commit 8fdc681
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ services:
environment:
- MONGODB_URI
restart: always
healthcheck: ["CMD", "curl", "http://localhost:3000"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 2m

0 comments on commit 8fdc681

Please sign in to comment.