fixed volume erigon

This commit is contained in:
cventastic
2021-12-13 00:17:47 +01:00
parent 0893b3a5c0
commit c8f5c038b6

View File

@@ -56,7 +56,7 @@ services:
- "30303" - "30303"
- "30304" - "30304"
volumes: volumes:
- erigon-trace:-~/.local/share}/erigon:/home/erigon/.local/share/erigon - erigon-trace:/erigon:/home/erigon/.local/share/erigon
command: erigon --chain mainnet --metrics --metrics.addr=0.0.0.0 --metrics.port=6060 --private.api.addr=0.0.0.0:9090 --pprof --pprof.addr=0.0.0.0 --pprof.port=6061 command: erigon --chain mainnet --metrics --metrics.addr=0.0.0.0 --metrics.port=6060 --private.api.addr=0.0.0.0:9090 --pprof --pprof.addr=0.0.0.0 --pprof.port=6061
networks: networks:
- pocket - pocket
@@ -66,7 +66,7 @@ services:
command: rpcdaemon --datadir=/home/erigon/.local/share/erigon --private.api.addr=erigon:9090 --txpool.api.addr=erigon:9090 --http.addr=0.0.0.0 --http.vhosts=* --http.corsdomain=* --http.api=eth,debug,net,trace --ws command: rpcdaemon --datadir=/home/erigon/.local/share/erigon --private.api.addr=erigon:9090 --txpool.api.addr=erigon:9090 --http.addr=0.0.0.0 --http.vhosts=* --http.corsdomain=* --http.api=eth,debug,net,trace --ws
pid: service:erigon-trace # Use erigon's PID namespace. It's required to open Erigon's DB from another process (RPCDaemon local-mode) pid: service:erigon-trace # Use erigon's PID namespace. It's required to open Erigon's DB from another process (RPCDaemon local-mode)
volumes: volumes:
- erigon-trace:-~/.local/share}/erigon:/home/erigon/.local/share/erigon - erigon-trace:/home/erigon/.local/share/erigon
expose: expose:
- "8545" - "8545"
restart: unless-stopped restart: unless-stopped