From f76f34e47fe6b8864a3dea30f48dae3e8b7899ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcelino=20Garci=CC=81a?= Date: Sat, 16 Oct 2021 18:18:36 +0200 Subject: [PATCH] Fix #11 Keep node in sync after every update --- build/Dockerfile | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index 4e6607e..d13cb00 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,4 +1,4 @@ ARG UPSTREAM_VERSION FROM nethermind/nethermind:${UPSTREAM_VERSION} -ENTRYPOINT [ "sh", "-c", "exec ./Nethermind.Runner $EXTRA_OPTS" ] \ No newline at end of file +ENTRYPOINT [ "sh", "-c", "exec ./Nethermind.Runner --Init.BaseDbPath=/data --Init.LogDirectory=/data/logs $EXTRA_OPTS" ] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 3386c14..fed476c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: image: "nethermind-xdai.dnp.dappnode.eth:1.0.0" restart: unless-stopped volumes: - - "data:/nethermind" + - "data:/data" environment: NETHERMIND_CONFIG: xdai NETHERMIND_SYNCCONFIG_FASTSYNC: "true"