configurable url

This commit is contained in:
Stefan Hardegger
2025-07-24 08:03:56 +02:00
parent 4bbc14d165
commit 77ad643eac
15 changed files with 257 additions and 26 deletions

27
.env.staging Normal file
View File

@@ -0,0 +1,27 @@
# Staging Environment Configuration
# For testing before production deployment
# Application URLs and CORS Configuration
# Replace with your actual staging URL
STORYCOVE_PUBLIC_URL=https://staging.yourdomain.com
STORYCOVE_CORS_ALLOWED_ORIGINS=https://staging.yourdomain.com
# Database Configuration
DB_PASSWORD=staging_secure_password
# JWT Configuration
JWT_SECRET=staging-jwt-secret-key-for-testing-32-chars-min
# Application Authentication
APP_PASSWORD=staging_admin_password
# Typesense Search Configuration
TYPESENSE_API_KEY=staging_typesense_api_key
TYPESENSE_ENABLED=true
TYPESENSE_REINDEX_INTERVAL=3600000
# Image Storage
IMAGE_STORAGE_PATH=/app/images
# Frontend API URL
NEXT_PUBLIC_API_URL=/api