22 lines
No EOL
637 B
Text
22 lines
No EOL
637 B
Text
# Database Configuration
|
|
DATABASE_URL=postgresql://user:password@localhost:5432/aethex_passport
|
|
|
|
# Server Configuration
|
|
PORT=3000
|
|
NODE_ENV=development
|
|
|
|
# Blockchain Configuration (for .aethex domain verification)
|
|
RPC_ENDPOINT=https://polygon-mainnet.infura.io/v3/YOUR_INFURA_KEY
|
|
FREENAME_REGISTRY_ADDRESS=0x... # Freename contract address
|
|
|
|
# JWT Secret (for authentication)
|
|
JWT_SECRET=your-secret-key-here
|
|
|
|
# Rate Limiting
|
|
RATE_LIMIT_WINDOW_MS=900000
|
|
RATE_LIMIT_MAX_REQUESTS=100
|
|
# TURN Server Configuration (for WebRTC NAT traversal)
|
|
TURN_SERVER_HOST=turn.example.com
|
|
TURN_SERVER_PORT=3478
|
|
TURN_SECRET=your-turn-secret-key
|
|
TURN_TTL=86400 |