Merge pull request #4 from radost5454/docker-compose

test docker compose file
This commit is contained in:
radost5454 2025-06-03 19:57:46 +03:00 committed by GitHub
commit 1d7e272932
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 20 additions and 1 deletions

View file

@ -27,6 +27,6 @@ jobs:
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: . context: .
file: ./Dockerfile file: ./Dockerfile.alltools
push: true push: true
tags: ghcr.io/${{ github.repository_owner }}/go-ethereum:dev-latest tags: ghcr.io/${{ github.repository_owner }}/go-ethereum:dev-latest

19
docker-compose.yml Normal file
View file

@ -0,0 +1,19 @@
version: '3.8'
services:
geth:
image: ghcr.io/radost5454/go-ethereum:dev-latest
ports:
- "8545:8545"
- "30303:30303"
volumes:
- ./data:/root/.ethereum
command: >
geth
--http
--http.addr 0.0.0.0
--http.port 8545
--http.api eth,net,web3,personal
--networkid 1337
--nodiscover
--dev