From fd3f652fb9e428a379bdb9ece12d8e0d3d2cc9c5 Mon Sep 17 00:00:00 2001 From: librelad Date: Sat, 23 May 2026 17:04:49 +0100 Subject: [PATCH] feat(backup): declare gitea sqlite database for live backup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Verified on a live install: gitea's app.ini sets [database] PATH=/data/gitea/ gitea.db with mount ./data/gitea:/data, so the host path is data/gitea/gitea/ gitea.db. (Created only after gitea's web setup completes; until then live backup safely falls back to stop.) focalboard intentionally still omitted — its db lives at /opt/focalboard/data/ focalboard.db inside the container, which the compose does not mount, so it isn't persisted to the app dir and can't be backed up until that's fixed. Co-Authored-By: Claude Opus 4.7 Signed-off-by: librelad --- containers/gitea/docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/containers/gitea/docker-compose.yml b/containers/gitea/docker-compose.yml index 702327c..2bc7861 100755 --- a/containers/gitea/docker-compose.yml +++ b/containers/gitea/docker-compose.yml @@ -64,6 +64,7 @@ services: labels: libreportal.category: "CATEGORY_DATA" #LIBREPORTAL|CATEGORY_TAG|CATEGORY_DATA libreportal.title: "TITLE_DATA" #LIBREPORTAL|TITLE_TAG|TITLE_DATA + libreportal.backup.db: "sqlite:::data/gitea/gitea/gitea.db" traefik.enable: TRAEFIK_ENABLE_DATA #LIBREPORTAL|TRAEFIK_ENABLE_TAG|TRAEFIK_ENABLE_DATA # TRAEFIK_PORT_1_BEGIN traefik.http.routers.gitea-service.entrypoints: web,websecure