Skip to content

Commit

Permalink
Add healthcheck to webserver
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarciabriseno committed Jun 24, 2024
1 parent 7fd2f00 commit 1c42e03
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ services:
depends_on:
- api
restart: on-failure
healthcheck:
# Check every 10 seconds, wait up to 2 minutes
test: ["CMD", "curl", "-s", "-X", "GET", "http://localhost"]
interval: 10s
timeout: 1s
retries: 12
volumes:
- type: bind
source: ./helioviewer.org
Expand Down

0 comments on commit 1c42e03

Please sign in to comment.