forked from StellarSplit/StellarSplit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (31 loc) · 1.85 KB
/
Copy path.env.example
File metadata and controls
41 lines (31 loc) · 1.85 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
36
37
38
39
40
41
# ─────────────────────────────────────────────
# StellarSplit Backend — Environment Variables
# ─────────────────────────────────────────────
# Copy this file to .env and fill in your values
# cp .env.example .env
# Never commit the .env file — it is in .gitignore
# ─────────────────────────────────────────────
# ── Database ──────────────────────────────────
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_USERNAME=postgres
DATABASE_PASSWORD=<your-database-password>
DATABASE_NAME=stellarsplit
# ── Authentication ────────────────────────────
# Generate a strong secret: node -e "console.log(require('crypto').randomBytes(64).toString('hex'))"
JWT_SECRET=<your-jwt-secret>
JWT_EXPIRES_IN=7d
# ── Application ───────────────────────────────
APP_PORT=3000
NODE_ENV=development
# Timezone for cron schedulers (e.g. America/New_York, Europe/London). Defaults to UTC.
TZ=UTC
# Days a completed split remains inactive before it is auto-archived.
# A pre-archive warning email is sent 7 days before this threshold.
ARCHIVE_AFTER_DAYS=90
# ── API Versioning ────────────────────────────
# Default API version used in URI prefix /api/v{API_VERSION}/
API_VERSION=1
# Stellar network configuration
# Use the public passphrase in production: Public Global Stellar Network ; September 2015
STELLAR_NETWORK_PASSPHRASE=Test SDF Network ; September 2015