diff --git a/.github/workflows/deploy-devnet.yml b/.github/workflows/deploy-devnet.yml index 7ef9c6bf75..194a461f5f 100644 --- a/.github/workflows/deploy-devnet.yml +++ b/.github/workflows/deploy-devnet.yml @@ -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 diff --git a/docker-compose.yaml b/docker-compose.yaml index 99cedf5d41..6148f9f117 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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: