mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
25 lines
586 B
YAML
25 lines
586 B
YAML
|
|
services:
|
|
geth:
|
|
image: go-etherium:0.0.1-all-tools
|
|
# geth --dev --http --http.api eth,web3,net --http.corsdomain "https://remix.ethereum.org"
|
|
|
|
command: >
|
|
geth
|
|
--dev
|
|
--http # works in localhost but doesn't listen on the public address
|
|
--http.addr 0.0.0.0
|
|
--http.api eth,web3,debug,net
|
|
--http.corsdomain "https://remix.ethereum.org"
|
|
--datadir=/root/.ethereum
|
|
--http.vhosts="*"
|
|
ports:
|
|
- 8545:8545
|
|
- 8546:8546
|
|
- 30303:30303
|
|
volumes:
|
|
- geth-datadir:/root/.ethereum
|
|
|
|
volumes:
|
|
geth-datadir:
|
|
|