-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
53 lines (41 loc) · 1.2 KB
/
.env.example
File metadata and controls
53 lines (41 loc) · 1.2 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
# Database
DATABASE_URL=postgres://postgres:postgres@localhost/tempo_webhooks
DATABASE_MAX_CONNECTIONS=10
# Redis
REDIS_URL=redis://localhost:6379
# NATS
NATS_URL=nats://localhost:4222
# Tempo RPC
TEMPO_MAINNET_WS=wss://rpc.tempo.xyz
TEMPO_MAINNET_HTTP=https://rpc.tempo.xyz
TEMPO_TESTNET_WS=wss://rpc.moderato.tempo.xyz
TEMPO_TESTNET_HTTP=https://rpc.moderato.tempo.xyz
TEMPO_TOKENLIST_URL=https://tokenlist.tempo.xyz
TEMPO_MAINNET_CHAIN_ID=42429
TEMPO_TESTNET_CHAIN_ID=42431
SMTP_HOST=
SMTP_PORT=
SMTP_USERNAME=
SMTP_PASSWORD=
FROM_EMAIL=
BASE_URL=
# Server
PORT=8080
HOST=0.0.0.0
RUST_LOG=info,tempo_webhooks=debug
# Security (generate with: openssl rand -hex 32)
JWT_SECRET=your_jwt_secret_here_replace_with_random_32_bytes
API_KEY_ENCRYPTION_KEY=your_encryption_key_here_replace_with_random_32_bytes
SESSION_SECRET=
# Polar (Subscription Billing)
POLAR_SECRET_KEY=sk_test_your_polar_secret_key
POLAR_WEBHOOK_SECRET=whsec_your_polar_webhook_secret
# Monitoring (optional)
SENTRY_DSN=https://your-sentry-dsn@sentry.io/project-id
# Features
ENABLE_MAINNET=true
ENABLE_TESTNET=true
CONFIRMATION_BLOCKS=1
# Rate Limiting
RATE_LIMIT_PER_MINUTE=100
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3000/sign-in