Skip to content

Commit

Permalink
fix: add healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
salvatorelaiso committed Jan 24, 2024
1 parent caa6106 commit 22fcbce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ services:
entrypoint: "sh entrypoint.sh"
networks:
- satosa-saml2spid
healthcheck:
test: curl --fail http://localhost/SAML2IDP/metadata || exit 1
interval: 2s
retries: 10
start_period: 10s
timeout: 10s

satosa-nginx:
image: nginx:alpine
Expand Down

0 comments on commit 22fcbce

Please sign in to comment.