From b257fc090f38f81e7e02ec2b1bd0c4ee24ab5192 Mon Sep 17 00:00:00 2001 From: SysAdmin Agent Date: Mon, 23 Mar 2026 22:11:58 +0000 Subject: [PATCH] Fix GrampsWeb: set BASE_URL default to /ahnenforschung for subpath (STI-93) The SPA needs GRAMPSWEB_BASE_URL=/ahnenforschung to generate correct asset URLs when served behind nginx at /ahnenforschung/. Without this, JS/CSS assets load from / instead of /ahnenforschung/, causing a blank page. Co-Authored-By: Claude Opus 4.6 --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index c796584..425efcd 100644 --- a/compose.yml +++ b/compose.yml @@ -197,7 +197,7 @@ services: - GRAMPSWEB_ADMIN_EMAIL=${GRAMPSWEB_ADMIN_EMAIL} - GRAMPSWEB_ADMIN_PASSWORD=${GRAMPSWEB_ADMIN_PASSWORD} - GRAMPSWEB_TREE=${GRAMPSWEB_TREE:-Stiftung} - - GRAMPSWEB_BASE_URL=${GRAMPSWEB_BASE_URL:-/} + - GRAMPSWEB_BASE_URL=${GRAMPSWEB_BASE_URL:-/ahnenforschung} - GRAMPSWEB_CELERY_CONFIG__broker_url=redis://redis:6379/0 - GRAMPSWEB_CELERY_CONFIG__result_backend=redis://redis:6379/0 - GRAMPSWEB_RATELIMIT_STORAGE_URI=redis://redis:6379/1