Skip to content

Instantly share code, notes, and snippets.

@jonaharagon
Last active February 27, 2024 01:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonaharagon/26adf1365aff5cc460129f51453ad93e to your computer and use it in GitHub Desktop.
Save jonaharagon/26adf1365aff5cc460129f51453ad93e to your computer and use it in GitHub Desktop.
Run a local Monero node in Synology Container Manager
version: '3'
services:
monerod:
image: sethsimmons/simple-monerod:latest
user: ${FIXUID:-1026}:${FIXGID:-100}
restart: unless-stopped
hostname: monerod
volumes:
- ./bitmonero:/home/monero/.bitmonero
ports:
- 18080:18080
- 18089:18089
command:
- "--rpc-restricted-bind-ip=0.0.0.0"
- "--rpc-restricted-bind-port=18089"
#- "--public-node"
- "--no-igd"
- "--enable-dns-blocklist"
#- "--prune-blockchain"
#tor:
# image: goldy/tor-hidden-service:latest
# restart: unless-stopped
# links:
# - monerod
# environment:
# MONEROD_TOR_SERVICE_HOSTS: 18089:monerod:18089
# MONEROD_TOR_SERVICE_VERSION: '3'
# volumes:
# - ./tor-keys:/var/lib/tor/hidden_service/
@jonaharagon
Copy link
Author

Companion walkthrough video:

bGnjdBnYNhAHP0PL

@dirkbeer
Copy link

Hey @jonaharagon, thank you for this video and the yaml!

Everything worked great with the monerod install, but when I uncomment the tor section and try to start, I get this error on tor:

exec /usr/local/bin/pyentrypoint: exec format error

Any ideas of what this might be, or where to look for help?

@jonaharagon
Copy link
Author

@dirkbeer which Synology NAS do you have? I just noticed Synology added Docker support to some very recent ARM devices, previously it was only available on x86-64 devices. If you have an ARM CPU, that Tor Docker image might not work for you. I only tested on x86-64 devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment