This repository has been archived by the owner on Dec 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
69 lines (64 loc) · 1.85 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
version: '3.7'
volumes:
# Volumes need to be recreated when starting a new chain: 'docker-compose down -v'.
main-node-data:
driver: local
node-data:
driver: local
services:
main-node:
build:
context: .
dockerfile: Dockerfile
expose:
- 2750
- 8570
- 8571
ports:
- 2750:2750
- 8570:8570
- 8571:8571
volumes:
- main-node-data:/data
environment:
CHAINNAME: SensRNet
NETWORK_PORT: 8571
RPC_PORT: 8570
RPC_USER: multichainrpc
RPC_PASSWORD: password
RPC_ALLOW_IP: 0.0.0.0/0.0.0.0
DELAY_INIT: 0
PARAM_TARGET_BLOCK_SIZE: target-block-time|30
PARAM_ANYONE_CAN_CONNECT: anyone-can-connect|true
PARAM_ANYONE_CAN_MINE: anyone-can-mine|true
PARAM_PRIVATE_KEY_VERSION: private-key-version|80ea7b28
PARAM_ADDRESS_CHECKSUM_VALUE: address-checksum-value|344cbb15
PARAM_ADDRESS_PUBKEYHASH_VERSION: address-pubkeyhash-version|00f7391c
node:
build:
context: .
dockerfile: Dockerfile
expose:
- 2751
- 8572
- 8573
ports:
- 2751:2750
- 8572:8570
- 8573:8571
volumes:
- node-data:/data
environment:
CHAINNAME: SensRNet
NETWORK_PORT: 8571
RPC_PORT: 8570
RPC_USER: multichainrpc
RPC_PASSWORD: password
RPC_ALLOW_IP: 0.0.0.0/0.0.0.0
MAIN_NODE_HOST: main-node
DELAY_INIT: 1
PRIVATE_KEY: VDFLMeU5BA8S8iRssuMvhUXh1WoTC7YcLGh4knCdP4oWVNw4RY8sQowG
links:
- main-node
depends_on:
- main-node