forked from Nova-reward/Nova-Rewards
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env
More file actions
36 lines (29 loc) · 1.04 KB
/
Copy path.env
File metadata and controls
36 lines (29 loc) · 1.04 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
# Redis Configuration
REDIS_URL=redis://localhost:6379
REDIS_CACHE_TTL=30
# Stellar Issuer Account (creates and issues the NOVA asset)
ISSUER_PUBLIC=G...
ISSUER_SECRET=S...
# Stellar Distribution Account (sends NOVA tokens to customers)
DISTRIBUTION_PUBLIC=G...
DISTRIBUTION_SECRET=S...
# Stellar Network Configuration
# Use 'testnet' for development, 'mainnet' for production
STELLAR_NETWORK=testnet
HORIZON_URL=https://horizon-testnet.stellar.org
# PostgreSQL Database
DATABASE_URL=postgresql://user:password@localhost:5432/nova_rewards
# Backend Server
PORT=3001
NODE_ENV=development
ALLOWED_ORIGIN=http://localhost:3000
# Compression
# zlib level 0–9 (-1 = zlib default, 6 = balanced default)
COMPRESSION_LEVEL=6
# Minimum response size in bytes before compression is applied (default 1024 = 1 KB)
COMPRESSION_THRESHOLD=1024
# Frontend (Next.js public vars — safe to expose to browser)
NEXT_PUBLIC_API_URL=http://localhost:3001
NEXT_PUBLIC_HORIZON_URL=https://horizon-testnet.stellar.org
NEXT_PUBLIC_ISSUER_PUBLIC=G...
NEXT_PUBLIC_STELLAR_NETWORK=testnet