fixing container external access

This commit is contained in:
Yohan9206 2025-07-31 21:41:24 +03:00
parent 105f9eb655
commit d1e6fb73d6

View file

@ -10,18 +10,20 @@ services:
- "30303:30303" - "30303:30303"
volumes: volumes:
- geth-data:/root/.ethereum - geth-data:/root/.ethereum
command: command: [
--dev "geth",
--http "--dev",
--http.addr 0.0.0.0 "--http",
--http.api personal,eth,net,web3,miner "--http.addr", "0.0.0.0",
--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: