mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +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"
|
||||
volumes:
|
||||
- geth-data:/root/.ethereum
|
||||
command:
|
||||
--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.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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue