feat: Add Gramps Web genealogy integration

- Add Gramps Web service to both development and production compose files
- Configure Django-Gramps API integration environment variables
- Update production environment template with Gramps configuration
- Enable genealogy features for foundation family tree management
- Gramps Web will be accessible at /ahnenforschung in production
This commit is contained in:
Stiftung Development
2025-10-15 20:18:20 +02:00
parent b9544048e6
commit c1c6824364
3 changed files with 48 additions and 5 deletions

View File

@@ -1,17 +1,19 @@
# =============================================================================
# PRODUCTION ENVIRONMENT VARIABLES
# PRODUCTION ENVIRONMENT VARIABLES TEMPLATE
# =============================================================================
# This template shows the required environment variables for production.
# ⚠️ THIS IS A TEMPLATE ONLY - DO NOT PUT REAL SECRETS HERE!
#
# SETUP INSTRUCTIONS:
# 1. SSH into production server: ssh user@your-server-ip
# 2. Navigate to stiftung directory: cd /opt/stiftung
# 3. Copy this template: cp env-production.template .env
# 4. Edit with real values: nano .env
# 4. Edit with REAL values: nano .env
# 5. Set secure permissions: chmod 600 .env
#
# IMPORTANT: Once created, this file will NEVER be overwritten by git deployments!
# The .env file is in .gitignore and will be preserved across all future deployments.
# 🔒 SECURITY:
# - The real .env file stays ONLY on the production server
# - This template is safe to commit to Git (no real secrets)
# - Git deployments will NEVER overwrite your real .env file
# =============================================================================
# DATABASE CONFIGURATION
@@ -51,6 +53,12 @@ GRAMPSWEB_SECRET_KEY=your_grampsweb_secret_key_here
GRAMPSWEB_ADMIN_EMAIL=admin@vhtv-stiftung.de
GRAMPSWEB_ADMIN_PASSWORD=your_grampsweb_admin_password_here
# GRAMPS API CONNECTION (for Django integration)
GRAMPS_URL=http://grampsweb:5000
GRAMPS_USERNAME=admin@vhtv-stiftung.de
GRAMPS_PASSWORD=your_grampsweb_admin_password_here
GRAMPS_API_TOKEN=your_gramps_api_token_if_needed
# =============================================================================
# GENERATE SECRET KEYS:
# =============================================================================