fixing issues

This commit is contained in:
Yohan9206 2025-06-13 00:56:55 +03:00
parent 3c032331d7
commit e61099184e
2 changed files with 29 additions and 9 deletions

View file

@ -4,7 +4,7 @@ on:
pull_request: pull_request:
types: [closed] types: [closed]
branches: branches:
- master # or your default branch - master
jobs: jobs:
build: build:
@ -22,14 +22,6 @@ jobs:
run: | run: |
docker build -t my_first_container . 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 - name: Log in to Docker Hub
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:

28
docker-compose.yaml Normal file
View 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: