Added some health checks

This commit is contained in:
2024-01-06 11:09:30 +01:00
parent d890ae84be
commit ef2bf8a3ee
4 changed files with 20 additions and 0 deletions

View File

@@ -30,6 +30,11 @@ services:
- data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:3000"]
interval: 1m
timeout: 10s
retries: 3
{% include 'templates/docker-container-networks.yml.j2' %}
{% include 'templates/docker-container-depends-on-just-database.yml.j2' %}