-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy path.env.example
More file actions
90 lines (77 loc) · 3.55 KB
/
.env.example
File metadata and controls
90 lines (77 loc) · 3.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# =============================================================================
# ChainBridge Root Environment Configuration
# =============================================================================
# This file contains environment variables used by Docker Compose
# Copy to .env and customize for your environment
# NEVER commit .env file to version control
# =============================================================================
# =============================================================================
# COMPOSE PROJECT NAME
# =============================================================================
COMPOSE_PROJECT_NAME=chainbridge
# =============================================================================
# DATABASE CONFIGURATION
# =============================================================================
POSTGRES_USER=chainbridge
POSTGRES_PASSWORD=change_this_password_in_production
POSTGRES_DB=chainbridge
POSTGRES_PORT=5432
# =============================================================================
# REDIS CONFIGURATION
# =============================================================================
REDIS_PASSWORD=change_this_password_in_production
REDIS_PORT=6379
# =============================================================================
# BACKEND CONFIGURATION
# =============================================================================
BACKEND_PORT=8000
DEBUG=false
CORS_ORIGINS=http://localhost:3000
# =============================================================================
# RELAYER CONFIGURATION
# =============================================================================
RELAYER_PORT=8080
RELAYER_NAME=default
RELAYER_FEE_BPS=10
RELAYER_METRICS_BIND=0.0.0.0:9108
RELAYER_METRICS_PORT=9108
POLL_INTERVAL_SECS=15
MAX_RETRIES=3
# =============================================================================
# OBSERVABILITY (PROMETHEUS / GRAFANA / ALERTMANAGER)
# =============================================================================
PROMETHEUS_PORT=9090
GRAFANA_PORT=3001
GRAFANA_ADMIN_USER=admin
GRAFANA_ADMIN_PASSWORD=admin
ALERTMANAGER_PORT=9093
# =============================================================================
# STELLAR NETWORK
# =============================================================================
STELLAR_NETWORK=testnet # testnet or mainnet
SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
HORIZON_URL=https://horizon-testnet.stellar.org
# =============================================================================
# BITCOIN NETWORK
# =============================================================================
BITCOIN_NETWORK=testnet
BITCOIN_RPC_URL=http://bitcoin:8332
BITCOIN_RPC_USER=bitcoin
BITCOIN_RPC_PASSWORD=bitcoin_password
# =============================================================================
# ETHEREUM NETWORK
# =============================================================================
ETHEREUM_NETWORK=testnet
ETHEREUM_RPC_URL=https://goerli.infura.io/v3/YOUR_INFURA_KEY
# =============================================================================
# SECRETS (Override in .env - never commit these)
# =============================================================================
# ChainBridge Contract ID
# CHAINBRIDGE_CONTRACT_ID=
# Admin Secret Key (base32 encoded)
# STELLAR_ADMIN_SECRET=
# JWT Secret
# SECRET_KEY=
# Database URL (for docker internal communication - set by docker-compose)
DATABASE_URL=postgresql+asyncpg://chainbridge:change_this_password_in_production@postgres:5432/chainbridge
REDIS_URL=redis://:change_this_password_in_production@redis:6379/0