github.com/diadata-org/diadata@v1.4.593/deployments/docker-compose.ethereum.yml (about)

     1  version: '3.2'
     2  
     3  services:
     4  
     5    geth:
     6      image:
     7        ethereum/client-go:v1.10.13
     8      volumes:
     9        - /home/srv/geth:/root/.ethereum
    10      command: --http.vhosts geth --http --http.addr "0.0.0.0" --cache 1024 --syncmode "fast" --ws --ws.addr "0.0.0.0" --ws.origins "*" --ws.port 8546 --http.api admin,db,eth,debug,miner,net,shh,txpool,personal,web3 --txpool.globalqueue 4096 --rpc.allow-unprotected-txs=true --txlookuplimit 0
    11      ports: 
    12        - mode: host
    13          target: 8545
    14          published: 8545
    15        - mode: host
    16          target: 8546
    17          published: 8546
    18      logging:
    19        options:
    20          max-size: "50m"
    21      deploy:
    22        mode: global
    23        restart_policy:
    24          delay: 2s
    25          window: 20s