Files
trumpsignal-backend/.env.example
T
2026-04-21 19:33:24 +08:00

24 lines
698 B
Bash

# Database
DATABASE_URL=sqlite+aiosqlite:///./trumpsignal.db
# For Postgres in production:
# DATABASE_URL=postgresql+asyncpg://user:password@host:5432/trumpsignal
# Frontend origin for CORS
FRONTEND_URL=http://localhost:3001
# AI provider (OpenAI-compatible). Default below is gptsapi.net relay for Claude.
AI_API_KEY=
AI_BASE_URL=https://api.gptsapi.net/v1
AI_MODEL=claude-sonnet-4-6
# Hyperliquid — leverage & network only. Per-user API keys are stored in DB.
HL_LEVERAGE=3
HL_MAINNET=true
# development | production
ENVIRONMENT=development
# KEK for envelope-encrypting HL API keys in the DB.
# Generate: `openssl rand -hex 32`. ROTATING THIS INVALIDATES ALL STORED KEYS.
ENCRYPTION_KEY=