-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
164 lines (155 loc) · 4.5 KB
/
docker-compose.yml
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
services:
mongodb:
image: mongo:latest
ports:
- 27017:27017
volumes:
- ./data/mongodb:/data/db
redis:
image: redis:latest
command: redis-server /usr/local/etc/redis/redis.conf
ports:
- 6379:6379
volumes:
- ./data/redis.conf:/usr/local/etc/redis/redis.conf
- ./data/redis:/data
gatekeeper:
build:
context: .
dockerfile: Dockerfile.gatekeeper
image: keychainmdip/gatekeeper
environment:
- KC_GATEKEEPER_PORT=4224
- KC_GATEKEEPER_DB=${KC_GATEKEEPER_DB}
- KC_GATEKEEPER_REGISTRIES=${KC_GATEKEEPER_REGISTRIES}
- KC_GATEKEEPER_GC_INTERVAL=${KC_GATEKEEPER_GC_INTERVAL}
- KC_GATEKEEPER_STATUS_INTERVAL=${KC_GATEKEEPER_STATUS_INTERVAL}
- KC_MONGODB_URL=mongodb://mongodb:27017
- KC_REDIS_URL=redis://redis:6379
volumes:
- ./data:/app/gatekeeper/data
user: "${KC_UID}:${KC_GID}"
ports:
- 4224:4224
depends_on:
- mongodb
- redis
keymaster:
build:
context: .
dockerfile: Dockerfile.keymaster
image: keychainmdip/keymaster
environment:
- KC_KEYMASTER_PORT=4226
- KC_GATEKEEPER_URL=http://gatekeeper:4224
- KC_ENCRYPTED_PASSPHRASE=${KC_ENCRYPTED_PASSPHRASE}
- KC_WALLET_CACHE=${KC_WALLET_CACHE}
volumes:
- ./data:/app/keymaster/data
user: "${KC_UID}:${KC_GID}"
ports:
- 4226:4226
depends_on:
- gatekeeper
hypr-mediator:
build:
context: .
dockerfile: Dockerfile.hyperswarm
image: keychainmdip/hyperswarm-mediator
environment:
- KC_GATEKEEPER_URL=http://gatekeeper:4224
- KC_NODE_NAME=${KC_NODE_NAME}
- KC_MDIP_PROTOCOL=${KC_MDIP_PROTOCOL}
volumes:
- ./data:/app/hyperswarm/data
user: "${KC_UID}:${KC_GID}"
depends_on:
- gatekeeper
tftc-node:
build:
context: .
dockerfile: Dockerfile.ftc
image: keychainmdip/ftc-node
volumes:
- ./data/tftc:/root/.feathercoin
tftc-mediator:
build:
context: .
dockerfile: Dockerfile.satoshi
image: keychainmdip/satoshi-mediator
environment:
- KC_GATEKEEPER_URL=http://gatekeeper:4224
- KC_KEYMASTER_URL=http://keymaster:4226
- KC_NODE_ID=${KC_NODE_ID}
- KC_ENCRYPTED_PASSPHRASE=${KC_ENCRYPTED_PASSPHRASE}
- KC_SAT_CHAIN=TFTC
- KC_SAT_NETWORK=testnet
- KC_SAT_START_BLOCK=0
- KC_SAT_HOST=tftc-node
- KC_SAT_PORT=19337
- KC_SAT_USER=${KC_TFTC_USER}
- KC_SAT_PASS=${KC_TFTC_PASS}
- KC_SAT_WALLET=${KC_TFTC_WALLET}
- KC_SAT_IMPORT_INTERVAL=${KC_TFTC_IMPORT_INTERVAL}
- KC_SAT_EXPORT_INTERVAL=${KC_TFTC_EXPORT_INTERVAL}
- KC_SAT_FEE_MIN=${KC_TFTC_FEE_MIN}
- KC_SAT_FEE_MAX=${KC_TFTC_FEE_MAX}
- KC_SAT_FEE_INC=${KC_TFTC_FEE_INC}
- KC_SAT_REIMPORT=${KC_TFTC_REIMPORT}
volumes:
- ./data:/app/satoshi/data
user: "${KC_UID}:${KC_GID}"
depends_on:
- tftc-node
- gatekeeper
- keymaster
tbtc-node:
image: keychainmdip/bitcoin-core:v28.0
volumes:
- ./data/tbtc:/root/.bitcoin
tbtc-mediator:
build:
context: .
dockerfile: Dockerfile.satoshi
image: keychainmdip/satoshi-mediator
environment:
- KC_GATEKEEPER_URL=http://gatekeeper:4224
- KC_KEYMASTER_URL=http://keymaster:4226
- KC_NODE_ID=${KC_NODE_ID}
- KC_ENCRYPTED_PASSPHRASE=${KC_ENCRYPTED_PASSPHRASE}
- KC_SAT_CHAIN=TBTC
- KC_SAT_NETWORK=testnet
- KC_SAT_HOST=tbtc-node
- KC_SAT_PORT=48332
- KC_SAT_START_BLOCK=${KC_TBTC_START_BLOCK}
- KC_SAT_USER=${KC_TBTC_USER}
- KC_SAT_PASS=${KC_TBTC_PASS}
- KC_SAT_WALLET=${KC_TBTC_WALLET}
- KC_SAT_IMPORT_INTERVAL=${KC_TBTC_IMPORT_INTERVAL}
- KC_SAT_EXPORT_INTERVAL=${KC_TBTC_EXPORT_INTERVAL}
- KC_SAT_FEE_MIN=${KC_TBTC_FEE_MIN}
- KC_SAT_FEE_MAX=${KC_TBTC_FEE_MAX}
- KC_SAT_FEE_INC=${KC_TBTC_FEE_INC}
- KC_SAT_REIMPORT=${KC_TBTC_REIMPORT}
volumes:
- ./data:/app/satoshi/data
user: "${KC_UID}:${KC_GID}"
depends_on:
- tbtc-node
- gatekeeper
- keymaster
ipfs-mediator:
build:
context: .
dockerfile: Dockerfile.ipfs
image: keychainmdip/ipfs-mediator
environment:
- KC_GATEKEEPER_URL=http://gatekeeper:4224
- KC_IPFS_INTERVAL=${KC_IPFS_INTERVAL}
- KC_IPFS_BATCH_SIZE=${KC_IPFS_BATCH_SIZE}
- KC_IPFS_CONCURRENCY=${KC_IPFS_CONCURRENCY}
volumes:
- ./data:/app/ipfs/data
user: "${KC_UID}:${KC_GID}"
depends_on:
- gatekeeper