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
37 lines (28 loc) · 1.69 KB
/
Copy path.env.example
File metadata and controls
37 lines (28 loc) · 1.69 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
# ─────────────────────────────────────────────
# 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
# ── API Versioning ────────────────────────────
# Default API version used in URI prefix /api/v{API_VERSION}/
API_VERSION=1
# Stellar network configuration
# Mainnet network passphrase: Public Global Stellar Network ; September 2015
STELLAR_NETWORK_PASSPHRASE=Public Global Stellar Network ; September 2015