# Production environment variables for Railway deployment # Copy to .env.production and fill in values. DO NOT commit real secrets. # Set these in Railway → Ghostfolio service → Variables (not in this file if pushing to git). # CACHE (from Railway Redis addon → Variables) REDIS_HOST=default REDIS_PORT=6379 REDIS_PASSWORD=AQZNRCzkYSWNlqCGxnWnCBvpTtDdtyUy # POSTGRES (from Railway Postgres addon → Variables; use full DATABASE_URL) POSTGRES_DB=railway POSTGRES_USER=postgres POSTGRES_PASSWORD=IUhOjCJGvsdDMyqIAXrVXMVnQbDEXctX DATABASE_URL=postgresql://postgres:IUhOjCJGvsdDMyqIAXrVXMVnQbDEXctX@postgres.railway.internal:5432/railway # SECURITY — generate: openssl rand -hex 16 and openssl rand -hex 32 ACCESS_TOKEN_SALT= JWT_SECRET_KEY= # APP NODE_ENV=production PORT=3000 # AGENT (OpenRouter) OPENROUTER_API_KEY= OPENROUTER_MODEL=openai/gpt-4o-mini