# ============================================================================= # LinkForty Core Configuration # ============================================================================= # ----------------------------------------------------------------------------- # Database Configuration (PostgreSQL) # ----------------------------------------------------------------------------- # For local development (without SSL): DATABASE_URL=postgresql://linkforty:changeme@localhost:5432/linkforty?sslmode=disable # For production (with SSL): # DATABASE_URL=postgresql://linkforty:changeme@localhost:5432/linkforty?sslmode=require POSTGRES_DB=linkforty POSTGRES_USER=linkforty POSTGRES_PASSWORD=changeme POSTGRES_PORT=5432 # ----------------------------------------------------------------------------- # Redis Configuration (optional but recommended for caching) # ----------------------------------------------------------------------------- REDIS_URL=redis://localhost:6379 REDIS_PORT=6379 # ----------------------------------------------------------------------------- # Server Configuration # ----------------------------------------------------------------------------- NODE_ENV=production PORT=3000 HOST=0.0.0.0 LINKFORTY_PORT=3000 # When behind a reverse proxy, set so client IP is read from X-Forwarded-For (e.g. 1 or number of proxy hops) # TRUST_PROXY=1 # ----------------------------------------------------------------------------- # CORS Configuration # ----------------------------------------------------------------------------- CORS_ORIGIN=* # ----------------------------------------------------------------------------- # Custom Domain Configuration (Optional) # ----------------------------------------------------------------------------- # SERVICE_DOMAIN=yourdomain.com # ----------------------------------------------------------------------------- # Mobile SDK Configuration (Optional - for iOS Universal Links and Android App Links) # ----------------------------------------------------------------------------- # iOS Universal Links Configuration # Get your Team ID from: https://developer.apple.com/account (Membership section) # IOS_TEAM_ID=ABC123XYZ # IOS_BUNDLE_ID=com.yourcompany.yourapp # Android App Links Configuration # Get SHA-256 fingerprint with: # Debug: keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android # Release: keytool -list -v -keystore /path/to/release.keystore -alias your-alias # ANDROID_PACKAGE_NAME=com.yourcompany.yourapp # ANDROID_SHA256_FINGERPRINTS=AA:BB:CC:DD:EE:FF:00:11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF:00:11:22:33:44:55:66:77:88:99 # Multiple fingerprints (debug + release) - comma-separated: # ANDROID_SHA256_FINGERPRINTS=AA:BB:CC:DD:...,11:22:33:44:...