fix: Configure Gramps Web static paths for subpath deployment
- Add GRAMPSWEB_STATIC_PATH and GRAMPSWEB_STATIC_URL environment variables - Configure proper static file serving for /ahnenforschung subpath - Fix CSS and JavaScript loading issues in reverse proxy setup - Ensure Gramps Web initialization page loads correctly
This commit is contained in:
@@ -93,6 +93,8 @@ services:
|
||||
- GRAMPSWEB_ADMIN_PASSWORD=gramps_dev_password
|
||||
- GRAMPSWEB_TREE=Stiftung
|
||||
- GRAMPSWEB_BASE_URL=/ahnenforschung
|
||||
- GRAMPSWEB_STATIC_PATH=/ahnenforschung/static
|
||||
- GRAMPSWEB_STATIC_URL=/ahnenforschung/static/
|
||||
- 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
|
||||
|
||||
@@ -113,6 +113,8 @@ services:
|
||||
- GRAMPSWEB_ADMIN_PASSWORD=${GRAMPSWEB_ADMIN_PASSWORD}
|
||||
- GRAMPSWEB_TREE=${GRAMPSWEB_TREE:-Stiftung}
|
||||
- GRAMPSWEB_BASE_URL=/ahnenforschung
|
||||
- GRAMPSWEB_STATIC_PATH=${GRAMPSWEB_STATIC_PATH:-/ahnenforschung/static}
|
||||
- GRAMPSWEB_STATIC_URL=${GRAMPSWEB_STATIC_URL:-/ahnenforschung/static/}
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user