Giter Site home page Giter Site logo

islishude / geth-docker Goto Github PK

View Code? Open in Web Editor NEW
73.0 73.0 36.0 243 KB

multi-arch and distroless-based docker image for go-ethereum, and out of box support for docker-compose and kubernetes

License: MIT License

Dockerfile 100.00%
docker-compose ethereum geth go-ethereum k8s

geth-docker's People

Contributors

dependabot[bot] avatar islishude avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

geth-docker's Issues

logging:

Something is off with the logging config in the docker-compose.yml. Container doesn't start with the code as-is. Commenting out everything in the logging section lets you move forward.

Some proposed fixes I am kindly requesting you to add to your text files...

Hello Islishude,

I am kindly requesting that you update your "docker-compose.yml" text file to include quotes around the geth logging section, and the prysm logging section, please see the bolded text below - I was getting an error with the file, until I added the quotation marks.. thank you brother!

version: "3.8"

services:
geth:
image: ethereum/client-go:v1.13.14
restart: unless-stopped
ports:
- 30303:30303
- 30303:30303/udp
- 8545:8545
- 8546:8546
volumes:
- ${GETH_DATADIR:-/data/geth}:/root/.ethereum
stop_signal: SIGINT
stop_grace_period: 2m
healthcheck:
test: ["CMD-SHELL", "geth attach --exec eth.blockNumber"]
interval: 10s
timeout: 5s
retries: 5
command:
- --http
- --http.api=eth,net,web3
- --http.addr=0.0.0.0
- --http.vhosts=*
- --http.corsdomain=*
- --ws
- --ws.origins=*
- --ws.addr=0.0.0.0
- --ws.api=eth,net,web3
- --graphql
- --graphql.corsdomain=*
- --graphql.vhosts=*
logging:
driver: "json-file"
options:
max-size: "2m"
max-file: "10"

prysm:
image: gcr.io/prysmaticlabs/prysm/beacon-chain:v5.0.0
restart: unless-stopped
stop_grace_period: 2m
volumes:
- ${PRYSM_DATADIR:-/data/prysm}:/data
- ${GETH_DATADIR:-/data/geth}:/geth
depends_on:
geth:
condition: service_healthy
ports:
- 4000:4000
- 3500:3500
command:
- --accept-terms-of-use
- --datadir=/data
- --execution-endpoint=/geth/geth.ipc
- --rpc-host=0.0.0.0
- --rpc-port=4000
- --grpc-gateway-corsdomain=*
- --grpc-gateway-host=0.0.0.0
- --grpc-gateway-port=3500
logging:
driver: "json-file"
options:
max-size: "2m"
max-file: "10"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.