Fork of lchaia/monerod
Run monerod
using Docker.
This image clones https://github.com/monero-project/monero
and builds it according to instructions.
Append any monerod
params after the image name. i.e:
docker run -it --rm enucatl/monerod --help
The blockchain will get downloaded at /home/monero/.bitmonero
, so you should
volume-map that path for persistance
You'll need to modify it for your environment
version: "3"
services:
monerod:
image: enucatl/monerod:latest
container_name: monerod
volumes:
- monero:/monero
ports:
- 18080:18080
- 18089:18089
command:
- "--log-file=/monero/monerod.log"
- "--data-dir=/monero"
- "--non-interactive"
- "--rpc-use-ipv6"
- "--p2p-ignore-ipv4"
- "--p2p-use-ipv6"
- "--rpc-restricted-bind-ip=0.0.0.0"
- "--rpc-restricted-bind-ipv6-address=::"
- "--rpc-restricted-bind-port=18089"
- "--confirm-external-bind"
- "--max-concurrency=2"
- "--public-node"
- "--prune-blockchain"
- "--limit-rate-up=20000"
- "--limit-rate-down=20000"
restart: unless-stopped
volumes:
monero:
Code from this repository is released under MIT license. Monero License
Please consider donating to Monero