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

30
.env.production Normal file
View File

@@ -0,0 +1,30 @@
# Production Environment Configuration
# Set these values in your production environment
# Application URLs and CORS Configuration
# Replace with your actual production URL
STORYCOVE_PUBLIC_URL=https://storycove.hardegger.io
STORYCOVE_CORS_ALLOWED_ORIGINS=https://storycove.hardegger.io
# Database Configuration
# Use a strong password in production
DB_PASSWORD=REPLACE_WITH_SECURE_PASSWORD
# JWT Configuration
# Use a strong, random secret in production
JWT_SECRET=REPLACE_WITH_SECURE_JWT_SECRET_MINIMUM_32_CHARS
# Application Authentication
# Use a strong password in production
APP_PASSWORD=REPLACE_WITH_SECURE_APP_PASSWORD
# Typesense Search Configuration
TYPESENSE_API_KEY=REPLACE_WITH_SECURE_TYPESENSE_API_KEY
TYPESENSE_ENABLED=true
TYPESENSE_REINDEX_INTERVAL=3600000
# Image Storage
IMAGE_STORAGE_PATH=/app/images
# Frontend API URL (not used in Docker, but can be set for external deployments)
NEXT_PUBLIC_API_URL=/api