mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
fix
This commit is contained in:
parent
dc1820d943
commit
1da546a7ce
2 changed files with 4 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
FROM dmanov/go-ethereum:dev-latest
|
||||
|
||||
COPY devnet /root/dev-chain
|
||||
COPY devnet /root/.ethereum
|
||||
|
||||
ENTRYPOINT ["geth"]
|
||||
|
||||
CMD ["--dev", "--datadir", "/root/dev-chain", "--http", "--http.addr", "0.0.0.0", "--http.api", "eth,net,web3", "--allow-insecure-unlock"]
|
||||
CMD ["--dev", "--datadir", "/root/.ethereum", "--http", "--http.addr", "0.0.0.0", "--http.api", "eth,net,web3", "--allow-insecure-unlock"]
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@ services:
|
|||
container_name: geth
|
||||
image: dmanov/go-ethereum:dev-latest
|
||||
volumes:
|
||||
- ./devnet:/root/dev-chain
|
||||
- ./devnet:/root/.ethereum
|
||||
ports:
|
||||
- "8545:8545"
|
||||
- "30303:30303"
|
||||
command: >
|
||||
--dev
|
||||
--datadir /root/dev-chain
|
||||
--datadir /root/.ethereum
|
||||
--http
|
||||
--http.addr 0.0.0.0
|
||||
--http.corsdomain="*"
|
||||
|
|
|
|||
Loading…
Reference in a new issue