-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.pubnet.yaml
86 lines (84 loc) · 3.67 KB
/
docker-compose.pubnet.yaml
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
version: '3'
services:
stellar-core-postgres:
image: postgres:12
restart: on-failure
volumes:
- db-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=stellar-core
- POSTGRES_PASSWORD=RonUQgj23En5Mmo4
stellar-core:
image: satoshipay/stellar-core:12.5.0
restart: on-failure
volumes:
- core-data:/data
environment:
- DATABASE=postgresql://dbname=stellar-core user=postgres password=DATABASE_PASSWORD host=stellar-core-postgres
- DATABASE_PASSWORD=RonUQgj23En5Mmo4
- INITIALIZE_DB=false
- INITIALIZE_HISTORY_ARCHIVES=false
# public key GACVY6FX6ZSGBEWQF6DG25VOAB25F72EI4WS676QIO3HO2YBKAKDI44H
- NODE_SEED=SDEZOI3BOCW6DUY23ZCJQALULOIEIQMZW4UTFXPRQEMMJMOG7CVD7WMO catchup
- NODE_IS_VALIDATOR=true
- NETWORK_PASSPHRASE=Public Global Stellar Network ; September 2015
- MAX_PEER_CONNECTIONS=30
- "KNOWN_PEERS=\
stellar-de-fra.satoshipay.io,\
stellar-sg-sin.satoshipay.io,\
stellar-us-iowa.satoshipay.io,\
core-live-a.stellar.org,\
core-live-b.stellar.org,\
core-live-c.stellar.org"
- "PREFERRED_PEERS=\
stellar-de-fra.satoshipay.io,\
stellar-sg-sin.satoshipay.io,\
stellar-us-iowa.satoshipay.io,\
core-live-a.stellar.org,\
core-live-b.stellar.org,\
core-live-c.stellar.org"
- "NODE_NAMES=\
GC5SXLNAM3C4NMGK2PXK4R34B5GNZ47FYQ24ZIBFDFOCU6D4KBN4POAE satoshipay-de-fra,\
GBJQUIXUO4XSNPAUT6ODLZUJRV2NPXYASKUBY4G5MYP3M47PCVI55MNT satoshipay-sg-sin,\
GAK6Z5UVGUVSEK6PEOCAYJISTT5EJBB34PN3NOLEQG2SUKXRVV2F6HZY satoshipay-us-iowa,\
GCGB2S2KGYARPVIA37HYZXVRM2YZUEXA6S33ZU5BUDC6THSB62LZSTYH sdf_watcher1,\
GCM6QMP3DLRPTAZW2UZPCPX2LF3SXWXKPMP3GKFZBDSF3QZGV2G5QSTK sdf_watcher2,\
GABMKJM6I25XI4K7U6XWMULOUQIQ27BCTMLS6BYYSOWKTBUXVRJSXHYQ sdf_watcher3,\
GAOO3LWBC4XF6VWRP5ESJ6IBHAISVJMSBTALHOQM2EZG7Q477UWA6L7U eno"
- >-
QUORUM_SET=[
{
"threshold_percent": 66,
"validators": [
"$$satoshipay-de-fra",
"$$satoshipay-sg-sin",
"$$satoshipay-us-iowa",
"$$sdf_watcher1",
"$$sdf_watcher2",
"$$sdf_watcher3",
"$$eno"
]
}
]
- KNOWN_CURSORS=HORIZON
- >-
HISTORY={
"coinqvest-de": {"get": "curl -sf https://germany.stellar.coinqvest.com/history/{0} -o {1}"},
"coinqvest-fi": {"get": "curl -sf https://finland.stellar.coinqvest.com/history/{0} -o {1}"},
"lobstr1": {"get": "curl -sf https://stellar-archive-1-lobstr.s3.amazonaws.com/{0} -o {1}"},
"lobstr2": {"get": "curl -sf https://stellar-archive-2-lobstr.s3.amazonaws.com/{0} -o {1}"},
"satoshipay-de-fra": {"get": "curl -sf https://stellar-history-de-fra.satoshipay.io/{0} -o {1}"},
"satoshipay-sg-sin": {"get": "curl -sf https://stellar-history-sg-sin.satoshipay.io/{0} -o {1}"},
"satoshipay-us-iowa": {"get": "curl -sf https://stellar-history-us-iowa.satoshipay.io/{0} -o {1}"},
"sdf1": {"get": "curl -sf http://history.stellar.org/prd/core-live/core_live_001/{0} -o {1}"},
"sdf2": {"get": "curl -sf http://history.stellar.org/prd/core-live/core_live_002/{0} -o {1}"},
"sdf3": {"get": "curl -sf http://history.stellar.org/prd/core-live/core_live_003/{0} -o {1}"},
"local": {
"get": "cp /data/history/{0} {1}",
"put": "cp {0} /data/history/{1}",
"mkdir": "mkdir -p /data/history/{0}"
}
}
volumes:
db-data:
core-data: