From 5555e76c8e7a7f89dea8759d0fca911a0c08c74f Mon Sep 17 00:00:00 2001 From: s1q <39670960+z1qaw@users.noreply.github.com> Date: Wed, 22 Sep 2021 20:15:56 +0300 Subject: [PATCH] Change deprecated --rpc keys in command, setup mainnet and light syncmode --- docker-compose.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 640e7a3..bb5102d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,6 @@ -version: '2.2' +version: "2.2" services: - geth: image: chapsuk/geth:prometheus container_name: dev_geth @@ -9,7 +8,7 @@ services: - "10455:6060" # - "10545:8545" cpus: 0.3 - command: --rinkeby --rpc --rpcaddr="0.0.0.0" --rpcvhosts="geth" --pprof --pprofaddr=0.0.0.0 --pprofport=6060 --metrics + command: --http --syncmode "light" --http.addr="0.0.0.0" --http.vhosts="geth" --pprof --pprof.addr=0.0.0.0 --pprof.port=6060 --metrics grafana: image: grafana/grafana