forked from Synapse-bridgez/synapse-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.development
More file actions
32 lines (25 loc) · 1.07 KB
/
Copy path.env.development
File metadata and controls
32 lines (25 loc) · 1.07 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
# Development environment profile
# Loaded automatically when APP_ENV=development (the default)
# Values here are overridden by any variable already set in the shell or .env
APP_ENV=development
# Verbose logging for local debugging
RUST_LOG=debug
LOG_FORMAT=text
# Relaxed rate limits — won't throttle local testing
DEFAULT_RATE_LIMIT=10000
WHITELIST_RATE_LIMIT=100000
# Longer DB timeouts to accommodate slow local machines / breakpoints
DB_TIMEOUT_READ_SECS=30
DB_TIMEOUT_WRITE_SECS=60
DB_STATEMENT_TIMEOUT_MS=60000
# Local service URLs
DATABASE_URL=postgres://synapse:synapse@localhost:5432/synapse
REDIS_URL=redis://localhost:6379
STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
# Placeholder secrets — replace with real values if testing Vault integration
ANCHOR_WEBHOOK_SECRET=dev-webhook-secret
ADMIN_API_KEY=dev-admin-key
# Pepper for hashing tenant API keys / passphrase for encrypting tenant
# webhook secrets at rest (see src/db/queries.rs::tenant_secret_key). Must be
# a strong random value outside of local development.
TENANT_SECRET_KEY=dev-only-tenant-secret