Extra health checks and route qbittorrent through VPN

This commit is contained in:
Shaun Collins
2026-03-13 12:40:46 +00:00
committed by shaun collins
parent a0530fb095
commit aa064c3dbc
3 changed files with 67 additions and 37 deletions
+15 -2
View File
@@ -1,4 +1,3 @@
services:
gitea:
image: gitea/gitea:latest
@@ -22,6 +21,15 @@ services:
ports:
- "3001:3000"
- "222:22"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/healthz"]
interval: 30s
timeout: 5s
start_period: 40s
retries: 3
depends_on:
db:
condition: service_healthy
db:
image: mysql:8
@@ -37,7 +45,12 @@ services:
- gitea
volumes:
- ./mysql:/var/lib/mysql
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
interval: 10s
timeout: 5s
start_period: 30s
retries: 5
networks:
gitea: