-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
18 lines (15 loc) · 1.21 KB
/
Copy path.env.example
File metadata and controls
18 lines (15 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# ── Database ────────────────────────────────────────────────────────────────
# Plain Postgres:
DATABASE_URL="postgresql://openhosting:openhosting@localhost:5432/openhosting"
DIRECT_URL="postgresql://openhosting:openhosting@localhost:5432/openhosting"
# Supabase: use the pooled connection for DATABASE_URL and the direct
# connection for DIRECT_URL (migrations). Find both under
# Project Settings → Database → Connection string.
# DATABASE_URL="postgresql://postgres.<ref>:<password>@aws-0-<region>.pooler.supabase.com:6543/postgres?pgbouncer=true"
# DIRECT_URL="postgresql://postgres.<ref>:<password>@aws-0-<region>.pooler.supabase.com:5432/postgres"
# ── App ─────────────────────────────────────────────────────────────────────
# Secret required by /api/cron (renewal invoicing, suspension). Generate with:
# openssl rand -hex 32
CRON_SECRET="change-me"
# Optional: initial admin password used by `npm run db:seed`
# SEED_ADMIN_PASSWORD="change-me"