Added comments how to implement health check

This commit is contained in:
Kevin Veen-Birkenbach 2024-04-04 13:00:06 +02:00
parent e52aa3a411
commit f396179681

View File

@ -25,6 +25,12 @@ services:
volumes: volumes:
- 'moodle:/bitnami/moodle' - 'moodle:/bitnami/moodle'
- 'data:/bitnami/moodledata' - 'data:/bitnami/moodledata'
# Healthcheck is not possible due to missing curl and wget in container
# healthcheck:
# test: ["CMD", "curl", "-f", "http://127.0.0.1:8080"]
# interval: 1m
# timeout: 10s
# retries: 3
{% include 'templates/docker/container/depends-on-just-database.yml.j2' %} {% include 'templates/docker/container/depends-on-just-database.yml.j2' %}
{% include 'templates/docker/container/networks.yml.j2' %} {% include 'templates/docker/container/networks.yml.j2' %}