Add a healthcheck for meilisearch

This commit is contained in:
Zoe Roux 2023-12-07 17:33:06 +01:00
parent b28bf5803d
commit baa78b9417
3 changed files with 15 additions and 0 deletions

View File

@ -112,6 +112,11 @@ services:
- MEILI_ENV=development
env_file:
- .env
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7700"]
interval: 10s
timeout: 5s
retries: 5
volumes:
kyoo:

View File

@ -82,6 +82,11 @@ services:
- MEILI_ENV=production
env_file:
- .env
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7700"]
interval: 10s
timeout: 5s
retries: 5
volumes:
kyoo:

View File

@ -81,6 +81,11 @@ services:
- MEILI_ENV=production
env_file:
- .env
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7700"]
interval: 10s
timeout: 5s
retries: 5
volumes:
kyoo: