You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

25 lines
967 B

# 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=<random-hex-16>
JWT_SECRET_KEY=<random-hex-32>
# APP
NODE_ENV=production
PORT=3000
# AGENT (OpenRouter)
OPENROUTER_API_KEY=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
OPENROUTER_MODEL=openai/gpt-4o-mini