From 49cb448c094f42331cfa8aca27f3fcb08cc2dd5f Mon Sep 17 00:00:00 2001 From: Tropicar Date: Fri, 4 Nov 2022 17:49:23 +0100 Subject: [PATCH 1/3] update to 3.5 docker -compose file --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index a8747ac..938024d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: "3.4" +version: "3.5" services: ethereum-classic.dnp.dappnode.eth: image: "ethereum-classic.dnp.dappnode.eth:1.1.1" From 27cbb5a69f62a77a83a34b7728cff5178a3254eb Mon Sep 17 00:00:00 2001 From: Tropicar Date: Fri, 4 Nov 2022 17:49:47 +0100 Subject: [PATCH 2/3] Fix p2p flag The flag value was not correct and it gave an error --- build/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Dockerfile b/build/Dockerfile index bba3dbb..da96382 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -15,4 +15,4 @@ RUN apk add --no-cache ca-certificates COPY --from=builder /go/core-geth/build/bin/geth /usr/local/bin -ENTRYPOINT geth --classic --http --http.addr 0.0.0.0 --http.corsdomain "*" --http.vhosts "*" --ws --ws.origins "*" --ws.addr 0.0.0.0 --port {$P2P_PORT} --syncmode ${SYNCMODE:-snap} $EXTRA_OPTS +ENTRYPOINT geth --classic --http --http.addr 0.0.0.0 --http.corsdomain "*" --http.vhosts "*" --ws --ws.origins "*" --ws.addr 0.0.0.0 --port $P2P_PORT --syncmode ${SYNCMODE:-snap} $EXTRA_OPTS From 309c19a3606a71d4719b809c649178130e7fe0c8 Mon Sep 17 00:00:00 2001 From: Tropicar Date: Fri, 4 Nov 2022 17:51:13 +0100 Subject: [PATCH 3/3] Change restart policy --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 938024d..83b5583 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,6 +15,6 @@ services: ports: - "30913:30913/udp" - "30913:30913/tcp" - restart: always + restart: unless-stopped volumes: geth: {}