-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
50 lines (46 loc) · 1.66 KB
/
docker-compose.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
version: "3.8"
services:
geth:
image: ethereum/client-go:stable
container_name: geth
restart: always
network_mode: "host"
command: ["--syncmode", "light", "--rpc", "--signer=/root/.clef/clef.ipc"]
volumes:
- /root/geth/data:/root/.ethereum
- /root/clef/data:/root/.clef
clef:
image: adshao/clef
container_name: clef
restart: always
network_mode: "host"
command: ["--keystore", "/root/.ethereum/keystore", "--chainid", "1", "--advanced", "--rules", "/clef/rules.js"]
volumes:
- /root/clef/data:/root/.clef
- /root/geth/data:/root/.ethereum
- /root/clef/rules.js:/clef/rules.js
nucypher:
image: adshao/nucypher:stable
container_name: nucypher
restart: always
network_mode: "host"
environment:
- NUCYPHER_WORKER_ETH_PASSWORD
- NUCYPHER_KEYRING_PASSWORD
volumes:
- /root/clef/data:/root/.clef
- /root/geth/data:/root/.ethereum
- /root/nucypher/data:/root/.local/share/nucypher
ursula:
image: adshao/nucypher:stable
container_name: ursula
restart: always
network_mode: "host"
command: ["nucypher", "ursula", "run", "--teacher", "mainnet.nucypher.network", "--prometheus", "--metrics-port", "9101"]
environment:
- NUCYPHER_WORKER_ETH_PASSWORD
- NUCYPHER_KEYRING_PASSWORD
volumes:
- /root/clef/data:/root/.clef
- /root/geth/data:/root/.ethereum
- /root/nucypher/data:/root/.local/share/nucypher