This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose-syslog.yml
101 lines (101 loc) · 3.4 KB
/
docker-compose-syslog.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
version: '3.8'
services:
node:
image: ghcr.io/gnosischain/gbc-prysm-beacon-chain:v2.1.2-gbc
restart: always
command: |
--accept-terms-of-use
--contract-deployment-block $DEPLOYMENT_BLOCK
--http-web3provider $XDAI_RPC_URL
--fallback-web3provider ${FALLBACK_XDAI_RPC_URL:-https://rpc.ankr.com/gnosis}
--bootstrap-node /root/sbc/config/bootnodes.yaml
--config-file /root/sbc/config/config.yml
--chain-config-file /root/sbc/config/config.yml
--rpc-host 0.0.0.0
--grpc-gateway-host 0.0.0.0
--p2p-local-ip 0.0.0.0
--p2p-host-ip $PUBLIC_IP
--p2p-max-peers $TARGET_PEERS
--monitoring-host 0.0.0.0
--verbosity $LOG_LEVEL
ports:
- '12000:12000/udp'
- '13000:13000'
- '127.0.0.1:4000:4000'
- '127.0.0.1:3500:3500'
- '127.0.0.1:8080:8080'
volumes:
- ./config:/root/sbc/config
- ./node_db:/home/.eth2/beaconchaindata
logging:
driver: syslog
options: { tag: '{{.Name}}/{{.ID}}' }
validator-import:
image: ghcr.io/gnosischain/gbc-prysm-validator:v2.1.2-gbc
command: |
accounts import
--accept-terms-of-use
--keys-dir /root/sbc/keys/validator_keys
--account-password-file /root/sbc/keys/keystore_password.txt
--wallet-password-file /root/sbc/keys/wallet_password.txt
volumes:
- ./keys:/root/sbc/keys
- ./wallet:/home/.eth2validators/prysm-wallet-v2
validator-list:
image: ghcr.io/gnosischain/gbc-prysm-validator:v2.1.2-gbc
command: |
accounts list
--accept-terms-of-use
--wallet-password-file /root/sbc/keys/wallet_password.txt
volumes:
- ./keys:/root/sbc/keys
- ./wallet:/home/.eth2validators/prysm-wallet-v2
validator:
image: ghcr.io/gnosischain/gbc-prysm-validator:v2.1.2-gbc
restart: always
command: |
--accept-terms-of-use
--config-file /root/sbc/config/config.yml
--chain-config-file /root/sbc/config/config.yml
--wallet-password-file /root/sbc/keys/wallet_password.txt
--graffiti-file=/root/sbc/config/graffiti.yml
--beacon-rpc-provider node:4000
--enable-doppelganger
--enable-slashing-protection-history-pruning
volumes:
- ./config:/root/sbc/config
- ./keys:/root/sbc/keys
- ./wallet:/home/.eth2validators/prysm-wallet-v2
logging:
driver: syslog
options: { tag: '{{.Name}}/{{.ID}}' }
validator-import-slashing-protection:
image: ghcr.io/gnosischain/gbc-prysm-validator:v2.1.2-gbc
command: |
slashing-protection-history import
--accept-terms-of-use
--datadir /home/.eth2validators/prysm-wallet-v2
--slashing-protection-json-file /root/sbc/config/slashing_protection.json
volumes:
- ./config:/root/sbc/config
- ./wallet:/home/.eth2validators/prysm-wallet-v2/direct
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "1"
validator-export-slashing-protection:
image: ghcr.io/gnosischain/gbc-prysm-validator:v2.1.2-gbc
command: |
slashing-protection-history export
--accept-terms-of-use
--datadir /home/.eth2validators/prysm-wallet-v2/direct
--slashing-protection-export-dir /root/sbc/config
volumes:
- ./config:/root/sbc/config
- ./wallet:/home/.eth2validators/prysm-wallet-v2
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "1"