forked from vincentserpoul/parityPoA
-
Notifications
You must be signed in to change notification settings - Fork 1
/
compose_A.yml
50 lines (47 loc) · 1.01 KB
/
compose_A.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
version: "3.3"
services:
A:
image: vincentserpoul/paritypoa:v1.7.0
ports:
- "8080:8080"
- "8180:8180"
- "8545:8545"
- "8546:8546"
- "30303:30303"
environment:
- UI_PORT=8180
- JSONRPC_PORT=8545
- WEBSOCKETS_PORT=8546
- NETWORK_PORT=30303
- AUTHORITY_COMPANY=A
volumes:
- chaindata_A:/mnt/io.parity.ethereum
secrets:
- authority.A.address
- authority.A.passphrase
- authority.A.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_A:
secrets:
authority.A.address:
external: true
authority.A.passphrase:
external: true
authority.A.password:
external: true