From 28e7c1aafa89b3fe4ca6d3acfab7eaa6fecf4948 Mon Sep 17 00:00:00 2001 From: dappnodedev <144998261+dappnodedev@users.noreply.github.com> Date: Tue, 10 Sep 2024 17:52:50 +0200 Subject: [PATCH] Keep legacy volumes (#19) * Fix root volumes * Fix holesky volume --- docker-compose.yml | 5 ----- package_variants/holesky/docker-compose.yml | 5 +++++ package_variants/lukso/docker-compose.yml | 5 +++++ package_variants/mainnet/docker-compose.yml | 5 +++++ package_variants/sepolia/docker-compose.yml | 5 +++++ 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2526bec..23d0a4c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,12 +6,7 @@ services: args: UPSTREAM_VERSION: v1.14.8 STAKER_SCRIPTS_VERSION: v0.1.0 - DATA_DIR: /root/.ethereum - volumes: - - geth:/root/.ethereum environment: EXTRA_OPTS: "" SYNCMODE: snap restart: unless-stopped -volumes: - geth: {} diff --git a/package_variants/holesky/docker-compose.yml b/package_variants/holesky/docker-compose.yml index fdada47..9e338f4 100644 --- a/package_variants/holesky/docker-compose.yml +++ b/package_variants/holesky/docker-compose.yml @@ -5,7 +5,12 @@ services: args: NETWORK: holesky P2P_PORT: 31403 + DATA_DIR: /root/.ethereum + volumes: + - geth:/root/.ethereum ports: - 31403:31403/tcp - 31403:31403/udp image: geth.holesky-geth.dnp.dappnode.eth:0.1.2 +volumes: + geth: {} diff --git a/package_variants/lukso/docker-compose.yml b/package_variants/lukso/docker-compose.yml index 99d7c25..d384125 100644 --- a/package_variants/lukso/docker-compose.yml +++ b/package_variants/lukso/docker-compose.yml @@ -5,7 +5,12 @@ services: args: NETWORK: lukso P2P_PORT: 33141 + DATA_DIR: /lukso + volumes: + - lukso:/lukso ports: - 33141:33141/tcp - 33141:33141/udp image: geth.lukso-geth.dnp.dappnode.eth:0.1.3 +volumes: + lukso: {} diff --git a/package_variants/mainnet/docker-compose.yml b/package_variants/mainnet/docker-compose.yml index c938c72..ec5db1d 100644 --- a/package_variants/mainnet/docker-compose.yml +++ b/package_variants/mainnet/docker-compose.yml @@ -5,7 +5,12 @@ services: args: NETWORK: mainnet P2P_PORT: 30403 + DATA_DIR: /root/.ethereum + volumes: + - geth:/root/.ethereum ports: - 30403:30403/tcp - 30403:30403/udp image: geth.geth.dnp.dappnode.eth:0.1.44 +volumes: + geth: {} diff --git a/package_variants/sepolia/docker-compose.yml b/package_variants/sepolia/docker-compose.yml index 9f41ce4..a819b7d 100644 --- a/package_variants/sepolia/docker-compose.yml +++ b/package_variants/sepolia/docker-compose.yml @@ -5,7 +5,12 @@ services: args: NETWORK: sepolia P2P_PORT: 35415 + DATA_DIR: /sepolia + volumes: + - sepolia:/sepolia ports: - 35415:35415/tcp - 35415:35415/udp image: geth.sepolia-geth.dnp.dappnode.eth:0.1.3 +volumes: + sepolia: {}