diff --git a/celo-archive.yml b/celo-archive.yml new file mode 100644 index 00000000..122205fa --- /dev/null +++ b/celo-archive.yml @@ -0,0 +1,37 @@ +version: '3.1' + +services: + celo-archive: + image: us.gcr.io/celo-org/geth:mainnet + restart: unless-stopped + stop_grace_period: 1m + command: | + --verbosity 3 + --syncmode full + --gcmode archive + --txlookuplimit=0 + --cache.preimages + --port 58395 + --http + --http.addr 0.0.0.0 + --http.api eth,net,web3,debug,admin,personal + #--light.serve 90 + #--light.maxpeers 1000 + #--maxpeers 1100 + #--etherbase $CELO_ACCOUNT_ADDRESS + --datadir /root/.celo + expose: + - 8545 + - 8546 + ports: + - '58395:58395/tcp' # p2p + - '58395:58395/udp' # p2p + volumes: + - celo-archive:/root/.celo + networks: + - chains + +volumes: + celo-archive: + +