Skip to content

Commit

Permalink
Add healthcheck configuration to docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
paulthatjazz committed Jul 23, 2024
1 parent b605fba commit 693e7ab
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 @@ -17,6 +17,11 @@ services:
published: 443
protocol: tcp
mode: ingress
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/"]
interval: 1m
timeout: 10s
retries: 3
volumes:
- caddy:/data
networks:
Expand Down

0 comments on commit 693e7ab

Please sign in to comment.