-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
129 lines (121 loc) · 3.2 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
version: '3'
services:
minio-1:
container_name: m1
image: minio/minio
stop_grace_period: 5m
ports:
- 9001:9001
volumes:
- minio_storage_1:/data
environment:
MINIO_ROOT_USER: admin
MINIO_ROOT_PASSWORD: password
command: server --console-address ":9001" /data
minio-2:
container_name: m2
image: minio/minio
stop_grace_period: 5m
ports:
- 9002:9001
volumes:
- minio_storage_2:/data
environment:
MINIO_ROOT_USER: admin
MINIO_ROOT_PASSWORD: password
command: server --console-address ":9001" /data
minio-3:
container_name: m3
image: minio/minio
stop_grace_period: 5m
ports:
- 9003:9001
volumes:
- minio_storage_3:/data
environment:
MINIO_ROOT_USER: admin
MINIO_ROOT_PASSWORD: password
command: server --console-address ":9001" /data
dora-storage-1:
container_name: d1
tty: true
image: giordyfish/dora-storage-demo:1.2.0
stop_grace_period: 5m
restart: always
volumes:
- d1:/data
environment:
- RUST_LOG=fsm=trace,dora=trace,sign=trace
- DORA_SAVE_DIR=/data
depends_on:
minio-1:
condition: service_started
command:
- "node"
- "--governor=dora-governor-demo"
- "--time-resolution=20"
- "--signature-sleep-time=30"
- "--storage=minio-local"
- "--storage-endpoint=minio-1:9000"
- "--storage-access-key=admin"
- "--storage-secret-key=password"
- "--node-url=https://api.testnet.shimmer.network"
- "--faucet-url=https://faucet.testnet.shimmer.network/api/enqueue"
dora-storage-2:
container_name: d2
tty: true
image: giordyfish/dora-storage-demo:1.2.0
stop_grace_period: 5m
restart: always
volumes:
- d2:/data
environment:
- RUST_LOG=fsm=trace,dora=trace,sign=trace
- DORA_SAVE_DIR=/data
depends_on:
minio-2:
condition: service_started
command:
- "node"
- "--governor=dora-governor-demo"
- "--time-resolution=20"
- "--signature-sleep-time=30"
- "--storage=minio-local"
- "--storage-endpoint=minio-2:9000"
- "--storage-access-key=admin"
- "--storage-secret-key=password"
- "--node-url=https://api.testnet.shimmer.network"
- "--faucet-url=https://faucet.testnet.shimmer.network/api/enqueue"
dora-storage-3:
container_name: d3
tty: true
image: giordyfish/dora-storage-demo:1.2.0
stop_grace_period: 5m
restart: always
volumes:
- d3:/data
environment:
- RUST_LOG=fsm=trace,dora=trace,sign=trace
- DORA_SAVE_DIR=/data
depends_on:
minio-3:
condition: service_started
command:
- "node"
- "--governor=dora-governor-demo"
- "--time-resolution=20"
- "--signature-sleep-time=30"
- "--storage=minio-local"
- "--storage-endpoint=minio-3:9000"
- "--storage-access-key=admin"
- "--storage-secret-key=password"
- "--node-url=https://api.testnet.shimmer.network"
- "--faucet-url=https://faucet.testnet.shimmer.network/api/enqueue"
#### minio volumes
volumes:
minio_storage_1: {}
minio_storage_2: {}
minio_storage_3: {}
d1: {}
d2: {}
d3: {}