this post was submitted on 31 Jan 2025
19 points (91.3% liked)

Selfhosted

41626 readers
503 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I've written a bot for [email protected] that I'm currently just running on my desktop. But I'd like to be able to set and forget it (except for when I do updates) by running it on my Synology NAS.

How can I best pull the node app from GitHub and run it on my Synology, preferably automatically running on start-up if the Synology is restarted.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 day ago (1 children)

The easiest would be using docker, you can set up the container to always restart, that way it will be started automatically on NAS restart.

You can also download node.js from the Synology software center and manually add a cronjob to run after reboot, but the docker way is probably the best way to go.

[–] [email protected] 1 points 5 hours ago (1 children)

How do you run a docker container on Synology? I have a DS923+ which AFAIK should be able to run it, but when I search for Docker in the Package Manager the only thing that comes up is Synology's own container manager, and I have no idea how to work with that.

[–] [email protected] 2 points 4 hours ago (1 children)

IIRC, that's exactly it. You can either use their GUI (which is not half bad) or you can use the docker command in the terminal after you install the package.

[–] [email protected] 1 points 4 hours ago (1 children)

Is there a way to get a terminal on the Synology itself, or is SSH from my PC the only way?

[–] [email protected] 2 points 2 hours ago

I only ever used SSH, so I don't know.