test docker compose file

This commit is contained in:
Radostina Lyubomirova 2025-06-03 19:56:45 +03:00
parent 43a14bb1cf
commit b1e60dc7ae
2 changed files with 20 additions and 1 deletions

View file

@ -27,6 +27,6 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
file: ./Dockerfile.alltools
push: true
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