# PP (PR Previews) - Environment Variables # Copy to .env and fill in values # PostgreSQL connection string DATABASE_URL=postgresql://pp:pp_password@localhost:5432/pp # Session signing secret (at least 32 random chars) SESSION_SECRET=change_me_to_a_random_32_character_string # Public URL of this PP instance (no trailing slash) PP_BASE_URL=https://pp.example.com # AES-256 encryption key — 64 hex chars (32 bytes) # Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" ENCRYPTION_KEY=0000000000000000000000000000000000000000000000000000000000000000 # Backend port (default: 5000) PORT=5000 # Log level: trace | debug | info | warn | error LOG_LEVEL=info