forked from chronicleprotocol/omnia
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
123 lines (116 loc) · 3.38 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
version: '3'
services:
geth:
container_name: geth.local
build:
context: "."
dockerfile: "docker/geth/Dockerfile"
ports:
- "8545:8545"
- "30303:30303"
volumes:
- "./docker/geth/config:/home/geth/config"
- "./docker/keystore:/home/geth/keystore"
command:
- "--datadir=/home/geth/data"
- "--keystore=/home/geth/keystore"
- "--password=/home/geth/keystore/password"
- "--allow-insecure-unlock"
- "--unlock=0x1bb90cde8a032cb4963813a5b4db4981afa5b9c6,0xfadad77b3a7e5a84a1f7ded081e785585d4ffaf3,0x3980aa37f838bec2e457445d943feb3af98ff036"
- "--networkid=99"
- "--lightkdf"
- "--nodiscover"
- "--maxpeers=0"
- "--port=0"
- "--nousb"
- "--ipcdisable"
- "--mine"
- "--miner.threads=1"
- "--miner.etherbase=0x1bb90cde8a032cb4963813a5b4db4981afa5b9c6"
- "--http"
- "--http.addr=0.0.0.0"
- "--http.port=8545"
- "--http.api=admin,personal,eth,miner,debug,txpool,net,web3"
- "--http.corsdomain=*"
- "--http.vhosts=*"
- "--rpc.allow-unprotected-txs"
gofer:
container_name: gofer.local
build:
context: "."
dockerfile: "Dockerfile"
entrypoint: [ "/usr/local/bin/gofer" ]
command: [ "-c", "/etc/gofer.json","-v", "debug", "agent" ]
network_mode: "host"
volumes:
- "./config/gofer.json:/etc/gofer.json"
spire_feed:
build:
context: "."
dockerfile: "Dockerfile"
network_mode: "host"
container_name: spire_feed.local
entrypoint: [ "/usr/local/bin/spire" ]
command: [ "-c", "/etc/spire.json", "agent", "-v", "info" ]
volumes:
- "~/.ethereum:/home/omnia/.ethereum"
- "./config/spire1.json:/etc/spire.json"
spire_relay:
build:
context: "."
dockerfile: "Dockerfile"
container_name: spire_relay.local
network_mode: "host"
depends_on:
- spire_feed
entrypoint: [ "/usr/local/bin/spire" ]
command: [ "-c", "/etc/spire.json", "agent", "-v", "info" ]
volumes:
- "~/.ethereum:/home/omnia/.ethereum"
- "./config/spire1.json:/etc/spire.json"
omnia_feed:
depends_on:
- gofer
- spire_feed
build:
context: "."
dockerfile: "Dockerfile"
network_mode: "host"
volumes:
- "./bin:/opt/omnia/bin"
- "./lib:/opt/omnia/lib"
- "./exec:/opt/omnia/exec"
- "./test:/opt/omnia/test"
- "./config/omnia_feed1.json:/home/omnia/omnia.json"
- "./config/spire1.json:/home/omnia/spire.json"
- "./config/gofer.json:/home/omnia/gofer.json"
- "~/.ethereum:/home/omnia/.ethereum"
environment:
SSB_KEYS: "/home/omnia/.ssb/secret"
SSB_CONF: "/home/omnia/.ssb/config"
SSB_HOST: "ssb-feed.local"
SSB_PORT: "8000"
OMNIA_VERBOSE: "true"
gofer: "/usr/local/bin/gofer"
omnia_relay:
depends_on:
- geth
- spire_relay
build:
context: "."
dockerfile: "Dockerfile"
network_mode: "host"
volumes:
- "./bin:/opt/omnia/bin"
- "./lib:/opt/omnia/lib"
- "./exec:/opt/omnia/exec"
- "./test:/opt/omnia/test"
- "../dapptools/src/seth/:/opt/seth/"
- "./config/omnia_relay.json:/home/omnia/omnia.json"
- "./config/spire1.json:/home/omnia/spire.json"
- "~/.ethereum:/home/omnia/.ethereum"
environment:
OMNIA_VERBOSE: "true"
networks:
default:
name: omnia_network