Skip to content

Commit

Permalink
Merge pull request #404 from wearepal/caddy-changes
Browse files Browse the repository at this point in the history
Add healthcheck configuration to docker-compose.yml
  • Loading branch information
paulthatjazz authored Jul 23, 2024
2 parents ede72ef + 693e7ab commit dc3c89a
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 dc3c89a

Please sign in to comment.