mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
fixing issues
This commit is contained in:
parent
3c032331d7
commit
e61099184e
2 changed files with 29 additions and 9 deletions
10
.github/workflows/dockerBuild.yml
vendored
10
.github/workflows/dockerBuild.yml
vendored
|
|
@ -4,7 +4,7 @@ on:
|
|||
pull_request:
|
||||
types: [closed]
|
||||
branches:
|
||||
- master # or your default branch
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -22,14 +22,6 @@ jobs:
|
|||
run: |
|
||||
docker build -t my_first_container .
|
||||
|
||||
# Optional: Push to Docker Hub or GitHub Container Registry
|
||||
# - name: Log in to Docker Hub
|
||||
# run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||
|
||||
# - name: Push image
|
||||
# run: docker push geth-custom
|
||||
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
|
|
|
|||
28
docker-compose.yaml
Normal file
28
docker-compose.yaml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
geth-node:
|
||||
image: yohands/my_first_container
|
||||
container_name: geth-devnet
|
||||
ports:
|
||||
- "8545:8545"
|
||||
- "8546:8546"
|
||||
- "30303:30303"
|
||||
volumes:
|
||||
- geth-data:/root/.ethereum
|
||||
command:
|
||||
--dev
|
||||
--http
|
||||
--http.addr 0.0.0.0
|
||||
--http.api personal,eth,net,web3,miner
|
||||
--http.corsdomain "*"
|
||||
--ws
|
||||
--ws.addr 0.0.0.0
|
||||
--ws.api personal,eth,net,web3,miner
|
||||
--allow-insecure-unlock
|
||||
--mine
|
||||
--nodiscover
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
geth-data:
|
||||
Loading…
Reference in a new issue