forked from bloxberg-org/bloxbergValidatorSetup-nethermind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
27 lines (27 loc) · 870 Bytes
/
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
version: "3.5"
services:
validator:
container_name: bloxbergValidator-nethermind
build:
context: ./src
dockerfile: Dockerfile
entrypoint: /start.sh
# command:
volumes:
- ./validator/bloxberg.json:/nethermind/chainspec/bloxberg.json
- ./validator/config.json:/nethermind/configs/bloxberg.cfg
- ./validator/static-nodes.json:/nethermind/Data/static-nodes-bloxberg.json
- ./validator/db/bloxberg:/nethermind/nethermind_db/bloxberg
- ./validator/keystore:/nethermind/keystore
- ./validator/logs:/nethermind/logs
- ./validator/validator.pwd:/nethermind/validator.pwd
ports:
- 8545:8545
- 8546:8546
- 30303:30303
user: "0:0"
# Pass env vars into the container.
environment:
NAT_IP: ${NAT_IP}
PUBLIC_ADDRESS: ${PUBLIC_ADDRESS}
restart: unless-stopped