This commit is contained in:
k
2026-04-21 19:33:24 +08:00
parent 9a72566753
commit 3268080401
26 changed files with 1816 additions and 318 deletions
+22 -3
View File
@@ -1,4 +1,23 @@
DATABASE_URL=postgresql+asyncpg://postgres:password@localhost:5432/trumpsignal
REDIS_URL=redis://localhost:6379
ANTHROPIC_API_KEY=sk-ant-...
# 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=