Skip to content

Instantly share code, notes, and snippets.

@alinetskyi
Created September 30, 2020 12:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save alinetskyi/5d4b08290ca4056585dd25bdb10d4ad5 to your computer and use it in GitHub Desktop.
Save alinetskyi/5d4b08290ca4056585dd25bdb10d4ad5 to your computer and use it in GitHub Desktop.
Ethereum node deployment file
version: '3.6'
services:
geth:
image: ethereum/client-go:stable
restart: always
command: |
--rpc
--rpcaddr=0.0.0.0
--rpcport=8545
--port=30303
--rpcapi="admin,db,debug,personal,eth,net,web3"
--rpccorsdomain="*"
--rpcvhosts="*"
--syncmode="fast"
--cache=2048
volumes:
- /geth:/root/.ethereum/
ports:
- "30303:30303"
- "8545:8545"
expose:
- "8545"
- "30303"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment