From 647d414ec1b7ca00aa8bad5ccdc83fbe2de622d3 Mon Sep 17 00:00:00 2001 From: Grant Whitmer Date: Tue, 11 Aug 2026 15:00:11 -0400 Subject: [PATCH] =?UTF-8?q?G4.3:=20fix=20Gitea=20crash=20loop=20=E2=80=94?= =?UTF-8?q?=20[lfs]=20STORAGE=5FTYPE=20breaks=20inheritance?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Naming a storage type inside [lfs] creates a separate storage section that does NOT inherit endpoint or credentials from [storage], so Gitea crash-looped on 'Endpoint: does not follow ip address or domain name standards' — an error that names the symptom and not the cause. LFS inherits the [storage] defaults on its own; avatars had already proved that by initialising correctly. Co-Authored-By: Claude Opus 5 --- docker-compose.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index f9962f6..b9bf289 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -72,7 +72,12 @@ services: # default; without this, uploads fail with an opaque checksum error that # reads like a credential problem and is not one. GITEA__storage__MINIO_CHECKSUM_ALGORITHM: md5 - GITEA__lfs__STORAGE_TYPE: minio + # ⚠️ Do NOT add `GITEA__lfs__STORAGE_TYPE`. Naming a storage type inside + # [lfs] creates a SEPARATE storage section that does not inherit the + # endpoint or credentials from [storage], so Gitea boots into a crash loop + # with "Endpoint: does not follow ip address or domain name standards" — + # an error that names the symptom and not the cause. LFS inherits the + # [storage] defaults above on its own; avatars proved it by working. volumes: # I-3: git object databases on a POSIX filesystem. Never object storage. - ${GIT_DATA_ROOT:-./data/gitea}:/data