mrusse / soularr

A Python script that connects Lidarr with Soulseek!
77 stars 7 forks source link

Docker container for easy deployment #2

Closed adrianipopescu closed 1 month ago

adrianipopescu commented 1 month ago

Can you please make this a simple docker container we can just load up in our stack?

Bonus points if you can share a sample docker-compose file for newbies like me.

mrusse commented 1 month ago

I have had a few requests for this and am taking time this weekend to try and set it up. Will report back on this issue.

Skaronator commented 1 month ago

Pleass consider using GitHub Container Registry instead of Docker Hub due to the annoying pull Limit in Docker Hub :)

mrusse commented 1 month ago

Just made some changes for docker.

Will update readme in a bit but for anyone who sees this before I do it is up on dockerhub:

https://hub.docker.com/r/mrusse08/soularr

Give it a test. You need to mount the folder that contains your config file to "/data" and also mount your slskd dl dir to whatever you want and put the directory you mounted it to in the config under Slskd -> "download_dir"

Also you can supply an environment var "SCRIPT_INTERVAL" which is how often the script is run in seconds. Default is 5 mins (300 seconds).

Also @Skaronator I will look into GitHub Container Registry but I know a lot of things search for apps in dockerhub (like Unraid).

mrusse commented 1 month ago

Readme has been updated with detailed docker instructions. Going to close this. Feel free to open more issues if you have specific problems with docker.