aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorKaran Jayachandra <mail@karanjayachandra.com>2026-08-30 22:38:27 +0200
committerKaran Jayachandra <mail@karanjayachandra.com>2026-08-30 22:38:27 +0200
commit596e3569e41f27a97f8f588b8e84ac7d8284ed93 (patch)
tree528aa46fcef60ca3377fdf30430dc0d7fd65281f /docker-compose.yml
parentd263d7c4ff0397fa421802446e00badf69bd44e5 (diff)
Fixed the subdomain and monitoringmain
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml80
1 files changed, 80 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 6277bdd..8fd2d8d 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -18,6 +18,8 @@ services:
- ./config/gluetun:/gluetun
networks:
- media
+ labels:
+ - "autoheal=true"
restart: unless-stopped
qbittorrent:
@@ -34,6 +36,14 @@ services:
volumes:
- /volume2/docker/linuxserver_qbittorrent-1/config:/config
- ${DOWNLOADS_PATH}:/downloads
+ labels:
+ - "autoheal=true"
+ healthcheck:
+ test: ["CMD-SHELL", "curl -fsS --max-time 5 http://localhost:8123/ >/dev/null && curl -fsS --max-time 5 https://1.1.1.1 >/dev/null"]
+ interval: 30s
+ timeout: 10s
+ retries: 3
+ start_period: 30s
restart: unless-stopped
jellyfin:
@@ -53,6 +63,14 @@ services:
- "${LAN_IP}:8096:8096"
networks:
- media
+ labels:
+ - "autoheal=true"
+ healthcheck:
+ test: ["CMD-SHELL", "curl -fsS http://localhost:8096/health"]
+ interval: 30s
+ timeout: 10s
+ retries: 3
+ start_period: 30s
restart: unless-stopped
radarr:
@@ -68,6 +86,14 @@ services:
- ${DOWNLOADS_PATH}:/downloads
networks:
- media
+ labels:
+ - "autoheal=true"
+ healthcheck:
+ test: ["CMD-SHELL", "curl -fsS http://localhost:7878/ping"]
+ interval: 30s
+ timeout: 10s
+ retries: 3
+ start_period: 30s
restart: unless-stopped
sonarr:
@@ -83,6 +109,14 @@ services:
- ${DOWNLOADS_PATH}:/downloads
networks:
- media
+ labels:
+ - "autoheal=true"
+ healthcheck:
+ test: ["CMD-SHELL", "curl -fsS http://localhost:8989/ping"]
+ interval: 30s
+ timeout: 10s
+ retries: 3
+ start_period: 30s
restart: unless-stopped
prowlarr:
@@ -96,6 +130,14 @@ services:
- /volume2/docker/prowlarr:/config
networks:
- media
+ labels:
+ - "autoheal=true"
+ healthcheck:
+ test: ["CMD-SHELL", "curl -fsS http://localhost:9696/ping"]
+ interval: 30s
+ timeout: 10s
+ retries: 3
+ start_period: 30s
restart: unless-stopped
bazarr:
@@ -111,6 +153,14 @@ services:
- ${TV_PATH}:/tv
networks:
- media
+ labels:
+ - "autoheal=true"
+ healthcheck:
+ test: ["CMD-SHELL", "curl -fsS http://localhost:6767/"]
+ interval: 30s
+ timeout: 10s
+ retries: 3
+ start_period: 30s
restart: unless-stopped
caddy:
@@ -136,6 +186,35 @@ services:
- prowlarr
- bazarr
- gluetun
+ labels:
+ - "autoheal=true"
+ healthcheck:
+ test: ["CMD-SHELL", "curl -fsS http://localhost:2019/config/"]
+ interval: 30s
+ timeout: 10s
+ retries: 3
+ start_period: 30s
+ restart: unless-stopped
+
+ autoheal:
+ image: willfarrell/autoheal:latest
+ container_name: autoheal
+ environment:
+ - AUTOHEAL_CONTAINER_LABEL=autoheal
+ - AUTOHEAL_INTERVAL=10
+ - TZ=${TZ}
+ volumes:
+ - /var/run/docker.sock:/var/run/docker.sock
+ restart: unless-stopped
+
+ uptime-kuma:
+ image: louislam/uptime-kuma:1
+ container_name: uptime-kuma
+ volumes:
+ - uptime_kuma_data:/app/data
+ - /var/run/docker.sock:/var/run/docker.sock:ro
+ networks:
+ - media
restart: unless-stopped
networks:
@@ -145,3 +224,4 @@ networks:
volumes:
caddy_data:
caddy_config:
+ uptime_kuma_data: