mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
fixing container external access
This commit is contained in:
parent
105f9eb655
commit
d1e6fb73d6
1 changed files with 14 additions and 12 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue