This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ services:
6
6
7
7
hornet :
8
8
container_name : hornet
9
- image : iotaledger/hornet-nest:2.0-beta
9
+ image : iotaledger/hornet-nest:2.0-rc
10
10
ports :
11
11
- " 14265:14265/tcp"
12
12
- " 8081:8081/tcp"
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ services:
38
38
- ../config.template.toml:/app/config.toml:ro
39
39
40
40
hornet :
41
- image : iotaledger/hornet:2.0-beta
41
+ image : iotaledger/hornet:2.0-rc
42
42
container_name : hornet
43
43
ulimits :
44
44
nofile :
@@ -56,11 +56,16 @@ services:
56
56
cap_drop :
57
57
- ALL
58
58
volumes :
59
- - ./data/hornet:/app/testnet
60
- - ./config.testnet.hornet.json:/app/config.json:ro
59
+ - ./data/hornet/alphanet/:/app/alphanet
60
+ - ./data/hornet/testnet/:/app/testnet
61
+ - ./data/hornet/shimmer/:/app/shimmer
62
+ - ./config.testnet.hornet.json:/app/config_testnet.json:ro
63
+ - ./config.alphanet.hornet.json:/app/config_alphanet.json:ro
61
64
command :
62
- - " -c"
63
- - " config.json"
65
+ # We can connect to the non-default networks by choosing a different Hornet configuration file.
66
+ # - "-c"
67
+ # - "config_testnet.json"
68
+ # - "config_alphanet.json"
64
69
- " --inx.enabled=true"
65
70
- " --inx.bindAddress=hornet:9029"
66
71
- " --prometheus.enabled=true"
Original file line number Diff line number Diff line change 9
9
10
10
# Prepare Hornet's data directory.
11
11
mkdir -p ${DIR} /data/hornet
12
+ mkdir -p ${DIR} /data/hornet/alphanet
13
+ mkdir -p ${DIR} /data/hornet/testnet
14
+ mkdir -p ${DIR} /data/hornet/shimmer
12
15
mkdir -p ${DIR} /data/chronicle
13
16
mkdir -p ${DIR} /data/chronicle/mongo
14
17
mkdir -p ${DIR} /data/grafana
You can’t perform that action at this time.
0 commit comments