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 \
-p 8545:8545 \
$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
# run: docker exec $CONTAINER_NAME which curl
@ -97,7 +97,7 @@ jobs:
--name test-node \
-p 8545:8545 \
$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
# - name: Wait for RPC to be ready

View file

@ -10,20 +10,21 @@ services:
- "30303:30303"
volumes:
- geth-data:/root/.ethereum
# command: [
# "geth",
# "--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"
# ]
command: [
"geth",
"--dev",
"--http",
"--http.addr", "0.0.0.0",
"--http.vhosts", "*",
"--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: