Skip to content

Commit

Permalink
feat(docker): bump Hornet to v2.0-rc (#754)
Browse files Browse the repository at this point in the history
* chore(docker): bump Hornet to `v2.0-rc`

* Fix paths
  • Loading branch information
grtlr authored Sep 30, 2022
1 parent 7be594e commit b7c9fd1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/docker-compose.nest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:

hornet:
container_name: hornet
image: iotaledger/hornet-nest:2.0-beta
image: iotaledger/hornet-nest:2.0-rc
ports:
- "14265:14265/tcp"
- "8081:8081/tcp"
Expand Down
15 changes: 10 additions & 5 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:
- ../config.template.toml:/app/config.toml:ro

hornet:
image: iotaledger/hornet:2.0-beta
image: iotaledger/hornet:2.0-rc
container_name: hornet
ulimits:
nofile:
Expand All @@ -56,11 +56,16 @@ services:
cap_drop:
- ALL
volumes:
- ./data/hornet:/app/testnet
- ./config.testnet.hornet.json:/app/config.json:ro
- ./data/hornet/alphanet/:/app/alphanet
- ./data/hornet/testnet/:/app/testnet
- ./data/hornet/shimmer/:/app/shimmer
- ./config.testnet.hornet.json:/app/config_testnet.json:ro
- ./config.alphanet.hornet.json:/app/config_alphanet.json:ro
command:
- "-c"
- "config.json"
# We can connect to the non-default networks by choosing a different Hornet configuration file.
# - "-c"
# - "config_testnet.json"
# - "config_alphanet.json"
- "--inx.enabled=true"
- "--inx.bindAddress=hornet:9029"
- "--prometheus.enabled=true"
Expand Down
3 changes: 3 additions & 0 deletions docker/prepare_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ fi

# Prepare Hornet's data directory.
mkdir -p ${DIR}/data/hornet
mkdir -p ${DIR}/data/hornet/alphanet
mkdir -p ${DIR}/data/hornet/testnet
mkdir -p ${DIR}/data/hornet/shimmer
mkdir -p ${DIR}/data/chronicle
mkdir -p ${DIR}/data/chronicle/mongo
mkdir -p ${DIR}/data/grafana
Expand Down

0 comments on commit b7c9fd1

Please sign in to comment.