Skip to content

Commit

Permalink
Implement moodle-app-dev healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
NoelDeMartin committed Jul 27, 2020
1 parent 4fac651 commit 77ab671
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions moodle-app-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ services:
command: npm run ionic:serve
volumes:
- "${MOODLE_DOCKER_APP_PATH}:/app"
healthcheck:
test: "curl -f http://localhost:8100 || exit 1"
interval: 10s
timeout: 3s
start_period: 30s
expose:
- 8100
- 35729
Expand Down

0 comments on commit 77ab671

Please sign in to comment.