forked from ASTROIDX556/astroid-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
58 lines (49 loc) · 1.74 KB
/
Copy path.env.example
File metadata and controls
58 lines (49 loc) · 1.74 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# ─────────────────────────────────────────────────────────────
# Astroid API — Environment configuration
# Copy to `.env` and adjust. NEVER commit real secrets.
# ─────────────────────────────────────────────────────────────
# App
NODE_ENV=development
APP_NAME=astroid-api
PORT=3000
API_PREFIX=api/v1
LOG_LEVEL=info
CORS_ORIGINS=http://localhost:3001
# Database (PostgreSQL)
DATABASE_URL=postgresql://astroid:astroid@localhost:5432/astroid?schema=public
# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
# Auth / JWT
JWT_ACCESS_SECRET=change-me-access-secret-at-least-32-characters
JWT_REFRESH_SECRET=change-me-refresh-secret-at-least-32-characters
JWT_ACCESS_TTL=900
JWT_REFRESH_TTL=1209600
PASSKEY_RP_ID=localhost
PASSKEY_RP_NAME=Astroid
PASSKEY_ORIGIN=http://localhost:3001
# Stellar
STELLAR_NETWORK=testnet
STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
STELLAR_SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
STELLAR_USE_MOCK=true
# Storage (S3-compatible)
STORAGE_ENDPOINT=http://localhost:9000
STORAGE_REGION=us-east-1
STORAGE_BUCKET=astroid
STORAGE_ACCESS_KEY=astroid
STORAGE_SECRET_KEY=astroid-secret
# Queue (BullMQ) — shares Redis by default
QUEUE_PREFIX=astroid
QUEUE_CONCURRENCY=5
# Rate limiting
THROTTLE_AUTH_LIMIT=10
THROTTLE_API_LIMIT=120
THROTTLE_TTL=60
# AI Provider (Nvidia NIM API compatible with OpenAI SDK)
AI_PROVIDER=nvidia
AI_PROVIDER_KEY=your_nvidia_api_key_starting_with_nvapi
AI_BASE_URL=https://integrate.api.nvidia.com/v1
AI_MODEL=meta/llama-3.1-70b-instruct