add Monero full node

master
meftimes 2024-03-13 15:57:03 -04:00
parent 435c7f8ed5
commit 3d0072021f
2 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,5 @@
## Command to resolve permission issues on volume-mapped folder
`docker run -it --rm -v /monero/.bitmonero:/home/monero/.bitmonero --entrypoint chown --user root sethsimmons/simple-monerod monero:monero -R /home/monero/.bitmonero`
## Obtain HiddenService address
`docker exec -it tor onions`

66
monero/monero.yml 100644
View File

@ -0,0 +1,66 @@
version: "3.8"
name: monero-suite
services:
monerod:
image: sethsimmons/simple-monerod:latest
restart: unless-stopped
container_name: monerod
volumes:
- /monero/.bitmonero:/home/monero/.bitmonero
ports:
- 18080:18080
- 18084:18084
- 18089:18089
command:
- --rpc-restricted-bind-ip=0.0.0.0
- --rpc-restricted-bind-port=18089
- --rpc-bind-ip=0.0.0.0
- --rpc-bind-port=18081
- --confirm-external-bind
- --enable-dns-blocklist
- --check-updates=disabled
- --max-log-files=3
- --max-log-file-size=1048576
- --no-igd
- --out-peers=64
- --limit-rate-down=1048576
- --public-node
- --zmq-pub=tcp://0.0.0.0:18084
- --disable-rpc-ban
p2pool:
image: sethsimmons/p2pool:latest
restart: unless-stopped
container_name: p2pool
tty: true
stdin_open: true
volumes:
- p2pool:/home/p2pool
- /dev/hugepages:/dev/hugepages:rw
ports:
- 3333:3333
- 37889:37889
command:
- --wallet wallet_address_goes_here
- --stratum 0.0.0.0:3333
- --p2p 0.0.0.0:37889
- --rpc-port 18089
- --zmq-port 18084
- --host monerod
- --addpeers node.portemonero.com:37888 --mini
- --start-mining 4
tor:
image: goldy/tor-hidden-service:latest
container_name: tor
restart: unless-stopped
links:
- monerod
- p2pool
environment:
MONEROD_TOR_SERVICE_HOSTS: 18089:monerod:18089
P2POOL_TOR_SERVICE_HOSTS: 3333:p2pool:3333
volumes:
- tor-keys:/var/lib/tor/hidden_service/
volumes:
monero: {}
p2pool: {}
tor-keys: {}