Monero Suite logo

Monero Suite

hundehausen's profile on x.comMonero related guides from sethforprivacy.com

The Monero daemon, monerod, is the core software that runs the Monero network. It is responsible for storing the blockchain and synchronizing transactions.

name: monero-suite
services:
  monerod:
    image: ghcr.io/sethforprivacy/simple-monerod:latest
    restart: unless-stopped
    container_name: monerod
    volumes:
      - bitmonero:/home/monero/.bitmonero
    ports:
      - 18080:18080
      - 18089:18089
    healthcheck:
      test: curl --fail http://localhost:18081/get_height || exit 1
      interval: 60s
      timeout: 5s
      retries: 10
      start_period: 40s
    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
      - --no-zmq
volumes:
  bitmonero: {}
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y ufw curl

# Install Docker
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USER
su - $USER
sudo apt-get install docker-compose-plugin

# Deny all non-explicitly allowed ports
sudo ufw default deny incoming
sudo ufw default allow outgoing

# Allow SSH access
sudo ufw allow ssh

# Create monero-suite folder
mkdir -p monero-suite
cd monero-suite

# Allow monerod p2p port and restricted rpc port
sudo ufw allow 18080/tcp 18089/tcp

# Enable UFW
sudo ufw enable

# finally, start the containers with:
UID="$(id -u)" GID="$(id -g)" docker compose up -d