-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
27 lines (22 loc) · 2 KB
/
.env.example
File metadata and controls
27 lines (22 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copy this file to .env and fill in your actual values.
# NEVER commit the real .env file to git!
# ─────────────────────────────────────────────────────────────
# REDIS (Required for both Oracle and PostgreSQL setups)
# Get yours at: https://upstash.com (free tier available)
# ─────────────────────────────────────────────────────────────
REDIS_URL=redis://default:YOUR_PASSWORD@YOUR_HOST.upstash.io:6379
# ─────────────────────────────────────────────────────────────
# DATABASE — Uncomment ONE of the two options below:
# ─────────────────────────────────────────────────────────────
# OPTION A: Oracle (for local development)
# Format: oracle+oracledb://username:password@host:port/?service_name=service
DATABASE_URL=oracle+oracledb://YOUR_USER:YOUR_PASSWORD@YOUR_HOST:1521/?service_name=YOUR_SERVICE
# OPTION B: PostgreSQL (for Render, Supabase, Neon, etc.)
# Format: postgresql+asyncpg://username:password@host:port/database_name
# DATABASE_URL=postgresql+asyncpg://YOUR_USER:YOUR_PASSWORD@YOUR_HOST:5432/YOUR_DB_NAME
# ─────────────────────────────────────────────────────────────
# SWITCHING BETWEEN DATABASES:
# 1. Comment out the active DATABASE_URL line above
# 2. Uncomment the other one
# 3. That's it! No code changes needed.
# ─────────────────────────────────────────────────────────────