generate the nodekey

This commit is contained in:
Sebastian
2025-02-02 07:41:07 +01:00
parent 1b0f87d565
commit 73e72904d3
2 changed files with 3 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
FROM golang:1.19-alpine as builder
# Install packages we need
RUN apk add --no-cache make gcc musl-dev linux-headers git
RUN apk add --no-cache make gcc musl-dev linux-headers git openssl
# Make a folder to work in
RUN mkdir /fantom

View File

@@ -16,6 +16,8 @@ fi
# uncomment the next line and do docker-compose build in case you have to try to fix the db after unclean shutdown etc.
# opera --db.preset pbl-1 --datadir=$FANTOM_HOME db heal --experimental
[ -f /config/nodekey ] || openssl rand -hex 32 > /config/nodekey
opera \
--genesis=$FANTOM_HOME/mainnet-171200-no-history.g \
--port=19921 \