-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
52 lines (41 loc) · 1.73 KB
/
.env.example
File metadata and controls
52 lines (41 loc) · 1.73 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
# =============================================================================
# APIbase.pro — Environment Variables Registry (§12.238)
# =============================================================================
# Copy to .env and fill in real values. Never commit .env to git.
# Production: .env is decrypted from .env.enc via sops, chmod 600.
# =============================================================================
# --- Core ---
NODE_ENV=production
PORT=3000
# --- Database (PostgreSQL) ---
# Connection strings with pool sizes per process (§12.215)
DATABASE_URL=postgresql://apibase:CHANGE_ME@postgres:5432/apibase?schema=public&connection_limit=20
DATABASE_URL_WORKER=postgresql://apibase:CHANGE_ME@postgres:5432/apibase?schema=public&connection_limit=10
DATABASE_URL_OUTBOX=postgresql://apibase:CHANGE_ME@postgres:5432/apibase?schema=public&connection_limit=5
# --- Redis ---
REDIS_URL=redis://redis:6379
# --- Core Secrets ---
# Salt for agent API key hashing, minimum 32 characters (§12.60)
API_KEY_SECRET=CHANGE_ME_MIN_32_CHARS_RANDOM_SECRET
# --- x402 Payments ---
X402_NETWORK=base-sepolia
X402_PAYMENT_ADDRESS=0x0000000000000000000000000000000000000000
X402_FACILITATOR_URL=https://x402.org/facilitator
# --- Docker ---
IMAGE_TAG=latest
# --- PostgreSQL Container (§12.194) ---
POSTGRES_USER=apibase
POSTGRES_PASSWORD=CHANGE_ME
POSTGRES_DB=apibase
# --- Backup Container (§12.212) ---
PG_PASSWORD=CHANGE_ME
# --- Grafana (§12.206) ---
GF_ADMIN_PASSWORD=CHANGE_ME
# --- Telegram Alerts (§12.207) ---
TELEGRAM_BOT_TOKEN=CHANGE_ME
TELEGRAM_CHAT_ID=CHANGE_ME
# --- Provider API Keys (§5.3) ---
PROVIDER_KEY_OPENWEATHER=CHANGE_ME
PROVIDER_KEY_COINGECKO=CHANGE_ME
PROVIDER_KEY_POLYMARKET=CHANGE_ME
PROVIDER_KEY_AVIASALES=CHANGE_ME