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