From 2fed95bfd7614aed1283fcc57a24b46712c547c7 Mon Sep 17 00:00:00 2001 From: Shaun Collins Date: Fri, 13 Mar 2026 14:25:45 +0000 Subject: [PATCH] All containers now have a health check --- JellyFin/docker-compose.yml | 2 +- NginxReverseProxy/docker-compose.yml | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/JellyFin/docker-compose.yml b/JellyFin/docker-compose.yml index cb93ceb..512235d 100644 --- a/JellyFin/docker-compose.yml +++ b/JellyFin/docker-compose.yml @@ -86,7 +86,7 @@ services: volumes: - ./Prowlarr/config:/config healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:9696/api/v1/health"] + test: ["CMD", "curl", "-f", "http://localhost:9696"] start_period: 30s timeout: 5s interval: 30s diff --git a/NginxReverseProxy/docker-compose.yml b/NginxReverseProxy/docker-compose.yml index 53c57f4..b0c2381 100644 --- a/NginxReverseProxy/docker-compose.yml +++ b/NginxReverseProxy/docker-compose.yml @@ -9,14 +9,19 @@ services: ports: - '80:80' - '81:81' - - '443:443' volumes: - ./data:/data - ./letsencrypt:/etc/letsencrypt networks: - - lingen + - lingen + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:81/api/version/check"] + interval: 30s + timeout: 5s + start_period: 40s + retries: 3 + networks: lingen: - driver: bridge - + driver: bridge \ No newline at end of file