-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
102 lines (102 loc) · 2.08 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
version: '3.0'
volumes:
signer-volume:
ipc-volume:
log-volume:
geth-volume:
privatenetwork-volume:
rinkeby-volume:
parity-volume:
services:
websocket:
ports:
- 3003:3003
env_file:
- ./environment/websocket.env
build:
context: ./node_modules/gittoken-socket/.
ipc: signer
volumes:
- ipc-volume:/tmp/
listener:
env_file:
- ./environment/listener.env
build:
context: ./node_modules/gittoken-event-listener/.
ipc: signer
volumes:
- ipc-volume:/tmp/
testrpc:
build: ./testrpc/.
ports:
- 8745:8545
rinkeby:
build:
context: ./rinkeby/.
ports:
- 8645:8545
- 8646:8546
- 30304:30303
privatenetwork:
build:
context: ./privatenetwork/.
ports:
- 8545:8545
- 8546:8546
- 30301:30301
signer:
env_file:
- ./environment/signer.env
build:
context: ./node_modules/gittoken-signer/.
ipc: host
volumes:
- signer-volume:/keystore/
- ipc-volume:/tmp/
webhookmgr:
ports:
- 3000:3000
env_file:
- ./environment/webhook.env
build:
context: ./node_modules/gittoken-webhook-manager/.
ipc: signer
volumes:
- log-volume:/db
- ipc-volume:/tmp/
registry:
ports:
- 3001:3001
env_file:
- ./environment/registry.env
build:
context: ./node_modules/gittoken-registry/.
ipc: signer
volumes:
- ipc-volume:/tmp/
mysql:
ports:
- 3306:3306
env_file:
- ./environment/mysql.env
image:
mysql
geth:
ports:
- 8545:8545
- 8546:8546
- 30303:30303
image: ethereum/client-go
volumes:
- geth-volume:/root/.ethereum
command: --testnet -wsaddr 0.0.0.0 -ws -wsorigins "*" --wsapi="db,eth,net,web3" --rpcaddr 0.0.0.0 --rpc --rpccorsdomain "*" --rpcapi="db,eth,net,web3" --fast
parity:
ports:
- 8445:8545
- 8446:8546
- 30203:30303
build:
context: ./parity/deploy/.
volumes:
- parity-volume:/root/parity
command: --config /root/parity/config.toml