-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.env.example
More file actions
35 lines (28 loc) · 1.12 KB
/
Copy path.env.example
File metadata and controls
35 lines (28 loc) · 1.12 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
28
29
30
31
32
33
34
35
# =============================================================================
# OrbitChain API — Environment Configuration Template
# =============================================================================
# Copy this file to .env and fill in your credentials before running the app.
# Application
NODE_ENV=development
PORT=3000
ENABLE_SWAGGER=true
# Database (Prisma / PostgreSQL)
# Format: postgresql://USER:PASSWORD@HOST:PORT/DATABASE?schema=public
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/orbitchain?schema=public"
# Redis
REDIS_URL="redis://localhost:6379"
# JWT
JWT_SECRET=change-me-in-production
# Admin wallet allowlist (comma-separated Stellar public keys)
# On auth, any wallet in this list will receive role=ADMIN
ADMIN_WALLETS=
# Email / SMTP (used by nodemailer for transactional emails)
# Set SMTP_HOST, SMTP_USER, SMTP_PASS to enable real email sending.
# Without these, emails are logged to console in development mode.
SMTP_HOST=
SMTP_PORT=587
SMTP_USER=
SMTP_PASS=
EMAIL_FROM=noreply@orbitchain.io
# Public-facing base URL (used for unsubscribe links in emails)
APP_BASE_URL=http://localhost:3000