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 \