forked from Talenttrust/Talenttrust-Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
38 lines (30 loc) · 1.39 KB
/
Copy path.env.example
File metadata and controls
38 lines (30 loc) · 1.39 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
# =============================================================================
# TalentTrust Backend — Environment Variables
# =============================================================================
# Copy this file to .env and fill in the values for your environment.
# See docs/backend/config.md for detailed documentation.
# =============================================================================
# Server
PORT=3001
NODE_ENV=development
API_BASE_URL=http://localhost:3001
DEBUG=true
# Security
JWT_SECRET=your-secret-key-at-least-8-chars-long
# Database
DATABASE_URL=postgresql://localhost:5432/talenttrust
# CORS Configuration
# Comma-separated list of allowed origins for CORS requests
# Example: ALLOWED_ORIGINS=https://app.example.com,https://admin.example.com
# Note: Wildcard (*) is not allowed in production mode
# ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001
# Stellar Network
STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
STELLAR_NETWORK_PASSPHRASE=Test SDF Network ; September 2015
# Soroban Smart Contracts
SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
SOROBAN_CONTRACT_ID=
# Circuit Breaker Thresholds
# CB_FAILURE_THRESHOLD=5 # consecutive failures before opening (default: 5)
# CB_SUCCESS_THRESHOLD=1 # consecutive successes in HALF_OPEN before closing (default: 1)
# CB_TIMEOUT_MS=30000 # ms to wait in OPEN before probing again (default: 30000)