Adds container health checks to those where it is possible

This commit is contained in:
stumpylog
2026-05-20 07:36:52 -07:00
parent 6cd5784bd7
commit 2c9a0fc9d5
6 changed files with 58 additions and 16 deletions
+10 -3
View File
@@ -34,13 +34,18 @@ services:
restart: unless-stopped
volumes:
- redisdata:/data
healthcheck:
test: ["CMD-SHELL", "redis-cli ping | grep -q PONG || exit 1"]
webserver:
image: ghcr.io/paperless-ngx/paperless-ngx:latest
restart: unless-stopped
depends_on:
- broker
- gotenberg
- tika
broker:
condition: service_healthy
gotenberg:
condition: service_healthy
tika:
condition: service_started
ports:
- "8000:8000"
volumes:
@@ -64,6 +69,8 @@ services:
- "gotenberg"
- "--chromium-disable-javascript=true"
- "--chromium-allow-list=file:///tmp/.*"
healthcheck:
test: ["CMD-SHELL", "curl --fail http://localhost:3000/health | grep -q '\"status\":\"up\"'"]
tika:
image: docker.io/apache/tika:latest
restart: unless-stopped