From ed7b01ebe90b715b6a6908dc875d9ec210f2bbfd Mon Sep 17 00:00:00 2001 From: Alex Sharov Date: Mon, 22 Aug 2022 19:03:48 +0700 Subject: [PATCH] docker-compose.yml explicit datadir #5137 --- docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f70b1c6e2..85da2dd6d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,7 +34,7 @@ services: erigon ${ERIGON_FLAGS-} --private.api.addr=0.0.0.0:9090 --sentry.api.addr=sentry:9091 --downloader.api.addr=downloader:9093 --no-downloader --txpool.disable --metrics --metrics.addr=0.0.0.0 --metrics.port=6060 --pprof --pprof.addr=0.0.0.0 --pprof.port=6061 - --authrpc.jwtsecret=/home/erigon/.local/share/erigon/jwt.hex + --authrpc.jwtsecret=/home/erigon/.local/share/erigon/jwt.hex --datadir=/home/erigon/.local/share/erigon ports: [ "8551:8551" ] volumes: # It's ok to mount sub-dirs of "datadir" to different drives @@ -44,23 +44,23 @@ services: sentry: <<: *default-erigon-service - command: sentry ${SENTRY_FLAGS-} --sentry.api.addr=0.0.0.0:9091 + command: sentry ${SENTRY_FLAGS-} --sentry.api.addr=0.0.0.0:9091 --datadir=/home/erigon/.local/share/erigon ports: [ "30303:30303/tcp", "30303:30303/udp" ] downloader: <<: *default-erigon-service - command: downloader ${DOWNLOADER_FLAGS-} --downloader.api.addr=0.0.0.0:9093 + command: downloader ${DOWNLOADER_FLAGS-} --downloader.api.addr=0.0.0.0:9093 --datadir=/home/erigon/.local/share/erigon ports: [ "42069:42069/tcp", "42069:42069/udp" ] txpool: <<: *default-erigon-service - command: txpool ${TXPOOL_FLAGS-} --private.api.addr=erigon:9090 --txpool.api.addr=0.0.0.0:9094 --sentry.api.ddr=sentry:9091 + command: txpool ${TXPOOL_FLAGS-} --private.api.addr=erigon:9090 --txpool.api.addr=0.0.0.0:9094 --sentry.api.ddr=sentry:9091 --datadir=/home/erigon/.local/share/erigon rpcdaemon: <<: *default-erigon-service command: | rpcdaemon ${RPCDAEMON_FLAGS-} --http.addr=0.0.0.0 --http.vhosts=* --http.corsdomain=* --ws - --private.api.addr=erigon:9090 --txpool.api.addr=txpool:9094 + --private.api.addr=erigon:9090 --txpool.api.addr=txpool:9094 --datadir=/home/erigon/.local/share/erigon ports: [ "8545:8545" ]