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
39 lines (32 loc) · 1.55 KB
/
Copy path.env.development
File metadata and controls
39 lines (32 loc) · 1.55 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
# 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
# Restricted, non-superuser role — see scripts/db-init/01-create-app-role.sql.
# Provisioned automatically the first time `docker compose up` initializes
# the postgres volume; run `docker compose down -v && docker compose up` if
# an existing local volume predates this role.
DATABASE_URL=postgres://synapse_app:synapse_app@localhost:5432/synapse
# pg_dump refuses to dump FORCE ROW LEVEL SECURITY tables under synapse_app's
# NOBYPASSRLS role — see Config::backup_database_url.
BACKUP_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