Skip to content

Commit df3f51d

Browse files
committed
Implement moodle-app-dev healthcheck
1 parent 63a65fa commit df3f51d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

moodle-app-dev.yml

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ services:
99
command: npm run ionic:serve
1010
volumes:
1111
- "${MOODLE_DOCKER_APP_PATH}:/app"
12+
healthcheck:
13+
test: "curl -f http://localhost:8100 || exit 1"
14+
interval: 10s
15+
timeout: 3s
16+
start_period: 30s
1217
expose:
1318
- 8100
1419
- 35729

0 commit comments

Comments
 (0)