forked from vincentserpoul/parityPoA
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose_B.yml
More file actions
55 lines (51 loc) · 1.07 KB
/
compose_B.yml
File metadata and controls
55 lines (51 loc) · 1.07 KB
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
version: "3.3"
services:
B:
image: vincentserpoul/paritypoa:v1.7.0
ports:
- "8081:8081"
- "8181:8181"
- "8547:8547"
- "8548:8548"
- "30304:30304"
environment:
- UI_PORT=8181
- JSONRPC_PORT=8547
- WEBSOCKETS_PORT=8548
- NETWORK_PORT=30304
- AUTHORITY_COMPANY=B
volumes:
- chaindata_B:/mnt/io.parity.ethereum
secrets:
- authority.B.address
- authority.B.passphrase
- authority.B.password
deploy:
mode: replicated
replicas: 1
labels: [NODE=A]
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 1
window: 120s
# service update configuration
update_config:
parallelism: 1
delay: 10s
failure_action: continue
monitor: 60s
max_failure_ratio: 0.3
volumes:
chaindata_B:
networks:
default:
external:
name: poa_default
secrets:
authority.B.address:
external: true
authority.B.passphrase:
external: true
authority.B.password:
external: true