islishude / geth-docker Goto Github PK
View Code? Open in Web Editor NEWmulti-arch and distroless-based docker image for go-ethereum, and out of box support for docker-compose and kubernetes
License: MIT License
multi-arch and distroless-based docker image for go-ethereum, and out of box support for docker-compose and kubernetes
License: MIT License
Line 3 in 6736475
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.
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"
/home/parity/.local/share/io.parity.ethereum
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.