Skip to content

Instantly share code, notes, and snippets.

@rakibulinux
Forked from alinetskyi/docker-compose.yaml
Created January 25, 2021 17:46
Show Gist options
  • Save rakibulinux/5c40a4e99820f4b15edc8f87929b760b to your computer and use it in GitHub Desktop.
Save rakibulinux/5c40a4e99820f4b15edc8f87929b760b 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