mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
Merge pull request #4 from radost5454/docker-compose
test docker compose file
This commit is contained in:
commit
1d7e272932
2 changed files with 20 additions and 1 deletions
2
.github/workflows/build-on-label.yml
vendored
2
.github/workflows/build-on-label.yml
vendored
|
|
@ -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
19
docker-compose.yml
Normal 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
|
||||||
Loading…
Reference in a new issue