-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
132 lines (127 loc) · 2.9 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
version: "3"
services:
sequencer-node-0:
container_name: sequencer-0
image: "warpredstone/sequencer:local"
build:
context: .
dockerfile: Dockerfile.genesis
args:
ENV: devnet
VERSION: ${VERSION}
profiles:
- sequencer
environment:
- DEBUG=1
- ID=0
- LOG=${LOG:-sequencerd.log}
- SEQUENCER_KEYPASSWD=Sad9aoDDrKla22FYrFmEw6S24hFkhUXJ
cap_add:
- SYS_PTRACE
security_opt:
- seccomp:unconfined
ports:
- "26656-26657:26656-26657"
- "1317:1317"
- "9090:9090"
- "2345:2345"
volumes:
- type: volume
source: sequencer-0-data
target: /root/.sequencer/data
volume:
nocopy: false
- type: bind
source: ./network/local/sequencer-0/config
target: /root/.sequencer/config
networks:
localnet:
ipv4_address: 192.168.10.2
sequencer-node-1:
container_name: sequencer-1
image: "warpredstone/sequencer:local"
build:
context: .
dockerfile: Dockerfile.genesis
args:
ENV: devnet
VERSION: ${VERSION}
profiles:
- sequencer
environment:
- DEBUG=1
- ID=0
- LOG=${LOG:-sequencerd.log}
- SEQUENCER_KEYPASSWD=FsWdSLhbbfzwEv22H6ZotOb6ArNLd1Ef
cap_add:
- SYS_PTRACE
security_opt:
- seccomp:unconfined
ports:
- "26666-26667:26656-26657"
- "1318:1317"
- "9091:9090"
- "2346:2345"
volumes:
- type: volume
source: sequencer-1-data
target: /root/.sequencer/data
volume:
nocopy: false
- type: bind
source: ./network/local/sequencer-1/config
target: /root/.sequencer/config
networks:
localnet:
ipv4_address: 192.168.10.3
sequencer-node-2:
container_name: sequencer-2
image: "warpredstone/sequencer:local"
build:
context: .
dockerfile: Dockerfile.genesis
args:
ENV: devnet
VERSION: ${VERSION}
profiles:
- sequencer
environment:
- DEBUG=1
- ID=0
- LOG=${LOG:-sequencerd.log}
- SEQUENCER_KEYPASSWD=uNZCkSCmId4Odyz7GtGE1W66eRnZw3uB
cap_add:
- SYS_PTRACE
security_opt:
- seccomp:unconfined
ports:
- "26676-26677:26656-26657"
- "1319:1317"
- "9092:9090"
- "2347:2345"
volumes:
- type: volume
source: sequencer-2-data
target: /root/.sequencer/data
volume:
nocopy: false
- type: bind
source: ./network/local/sequencer-2/config
target: /root/.sequencer/config
networks:
localnet:
ipv4_address: 192.168.10.4
volumes:
sequencer-0-data:
sequencer-0-config:
sequencer-1-data:
sequencer-1-config:
sequencer-2-data:
sequencer-2-config:
networks:
localnet:
driver: bridge
ipam:
driver: default
config:
- subnet: 192.168.10.0/25