This commit is contained in:
Dimitar Manov 2025-06-11 10:03:56 +03:00
parent dc1820d943
commit 1da546a7ce
2 changed files with 4 additions and 4 deletions

View file

@ -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"]

View file

@ -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="*"