From f61d136fd06adc1930df87157fdf1ea931b808df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Thu, 8 Jan 2026 13:13:29 +0100 Subject: [PATCH] (fix) volume paths changed to absolute --- docker-compose.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 8f65c7f..d276d3e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -12,6 +12,13 @@ services: - traefik-network restart: always stop_grace_period: 1m # Allow Gitea time to shut down gracefully + + # Standalone Compose resource limits (commonly honored by Docker Compose v2) + cpus: "1.0" + mem_limit: 2g + mem_reservation: 512m + pids_limit: 512 + healthcheck: test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/api/healthz"] interval: 30s @@ -20,8 +27,8 @@ services: start_period: 200s volumes: - - ./data:/var/lib/gitea - - ./config:/etc/gitea + - /home/knee-cola/docker/d-gitea/data:/var/lib/gitea + - /home/knee-cola/docker/d-gitea/config:/etc/gitea - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro