Skip to content

Commit

Permalink
Adding apache healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbo8098 committed Jun 16, 2021
1 parent fbb4109 commit 91846e6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docker-compose.simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
interval: 10s
timeout: 10s
retries: 3
start_period: 10s
start_period: 5s

apache:
build: ./webserver
Expand All @@ -39,6 +39,14 @@ services:
volumes:
- /etc/localtime:/etc/localtime:ro
- gibbon-root:${GIBBON_BASEDIR}
healthcheck:
test: ["CMD", "curl", "http://${GIBBON_SITENAME}:80"]
interval: 10s
timeout: 10s
retries: 10
start_period: 5s



php:
build:
Expand Down

0 comments on commit 91846e6

Please sign in to comment.