fixing external access

This commit is contained in:
Yohan9206 2025-08-01 11:28:10 +03:00
parent 31e6d4223a
commit a1a76ecaf5
2 changed files with 17 additions and 16 deletions

View file

@ -34,7 +34,7 @@ jobs:
--name $CONTAINER_NAME \ --name $CONTAINER_NAME \
-p 8545:8545 \ -p 8545:8545 \
$BASE_IMAGE \ $BASE_IMAGE \
--dev --http --http.api eth,net,web3,personal --dev --http --http.addr 0.0.0.0 --http.vhosts "*" --http.api eth,net,web3,personal
# - name: check if curl is installed # - name: check if curl is installed
# run: docker exec $CONTAINER_NAME which curl # run: docker exec $CONTAINER_NAME which curl
@ -97,7 +97,7 @@ jobs:
--name test-node \ --name test-node \
-p 8545:8545 \ -p 8545:8545 \
$FINAL_IMAGE:latest \ $FINAL_IMAGE:latest \
--dev --http --http.api eth,net,web3,personal --dev --http --http.addr 0.0.0.0 --http.vhosts "*" --http.api eth,net,web3,personal
sleep 20 sleep 20
# - name: Wait for RPC to be ready # - name: Wait for RPC to be ready

View file

@ -10,20 +10,21 @@ services:
- "30303:30303" - "30303:30303"
volumes: volumes:
- geth-data:/root/.ethereum - geth-data:/root/.ethereum
# command: [ command: [
# "geth", "geth",
# "--dev", "--dev",
# "--http", "--http",
# "--http.addr", "0.0.0.0", "--http.addr", "0.0.0.0",
# "--http.api", "personal,eth,net,web3,miner", "--http.vhosts", "*",
# "--http.corsdomain", "*", "--http.api", "personal,eth,net,web3,miner",
# "--ws", "--http.corsdomain", "*",
# "--ws.addr", "0.0.0.0", "--ws",
# "--ws.api", "personal,eth,net,web3,miner", "--ws.addr", "0.0.0.0",
# "--allow-insecure-unlock", "--ws.api", "personal,eth,net,web3,miner",
# "--mine", "--allow-insecure-unlock",
# "--nodiscover" "--mine",
# ] "--nodiscover"
]
restart: unless-stopped restart: unless-stopped
volumes: volumes: