I’ve written a bot for !dailygames@lemmy.zip 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.
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.
It’s basically a front-end GUI to Docker, like how some use Portainer. Synology has pretty alright documentation here. If you’re on mobile, click the menu button on the top right to view the sub-pages for the docs, was confusing at first to find what more it had to say about it lol.
But in short, to spin up individual containers you can go to the “Container” page. But there’s a big lack of control because Synology so I recommend to use Docker Compose under “Projects” for more fine grained control if needed. When you start a project you have to select a location for the project files and you can use dot notation for sub directory and files when doing volume mounting, eg.
./nginx/config:/etc/nginx/nginx.conf
.There’s a lot to read on for containers in general and working with them on Synology is a tad different and sometimes a lot of hoops to jump through. But it’s definitely nicer in the end than running almost anything outside of Synology’s Office Suite through it!