From 1b0f87d5652d0af3d12c5c1e859635a8385d501d Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Sun, 2 Feb 2025 07:31:44 +0100 Subject: [PATCH] nodekey is now external to the volume --- fantom.yml | 1 + fantom/config/keep-directory | 0 fantom/scripts/entrypoint-fullnode.sh | 1 + 3 files changed, 2 insertions(+) create mode 100644 fantom/config/keep-directory diff --git a/fantom.yml b/fantom.yml index f83ad87d..8771cdee 100644 --- a/fantom.yml +++ b/fantom.yml @@ -12,6 +12,7 @@ services: - IP=${IP} volumes: - "fantom:/datadir" + - "./fantom/config:/config" expose: - "18544" - "19921" diff --git a/fantom/config/keep-directory b/fantom/config/keep-directory new file mode 100644 index 00000000..e69de29b diff --git a/fantom/scripts/entrypoint-fullnode.sh b/fantom/scripts/entrypoint-fullnode.sh index 63612b22..12165613 100644 --- a/fantom/scripts/entrypoint-fullnode.sh +++ b/fantom/scripts/entrypoint-fullnode.sh @@ -28,6 +28,7 @@ opera \ --http.corsdomain="*" \ --http.vhosts="*" \ --nat extip:${IP} \ + --nodekey=/config/nodekey \ --ws \ --ws.addr=0.0.0.0 \ --ws.port=18544 \