simojenki / bonob

sonos SMAPI implementation allowing integrating different music sources with sonos.
GNU General Public License v3.0
228 stars 17 forks source link

[Feature Request] Non-Docker version #87

Open rati0nal opened 2 years ago

rati0nal commented 2 years ago

Is it possible to get a non-docker version of this? The project looks amazing but I don't run a docker environment (LXC install of Navidrome).

cooljimy84 commented 2 years ago

Just installed Navidrome as subsonic and log4j issues. This as a non docker app would be awesome !

simojenki commented 2 years ago

I'll look into this packaging it up as a tgz file so that all is needed is node.js, and some sort of init system to manage the process.

jparnzen commented 2 years ago

I've created a dockerless version locally based on the Dockerfile. Just made a very basic script for it as well, and added a systemd service file. Let me know if these would be of use to anyone.

simojenki commented 2 years ago

If you provide your script and systemd file I could add them to the README?

cooljimy84 commented 2 years ago

lxc-create <> -t oci -- --url docker://simojenki/bonob:latest

Or something like that ?

jparnzen commented 2 years ago

Sorry for the delay in responding, @simojenki. I’ll try to get the info to you today. What’s the best way to get it to you?

simojenki commented 2 years ago

Either add it to this thread, or email simojenki at gmail

jparnzen commented 2 years ago

Thanks, @simojenki ! I zipped up the two files (make-bonob-app and bonob.service) and attached it here. Let me know if you have any issues with anything.

Quick notes:

Let me know if you have any questions. They're very basic files but hopefully of some use.

bonob-support-files.zip

certuna commented 2 years ago

Yeah another vote for non-Docker, it introduces so many networking issues...

simojenki commented 2 years ago

I'll look into using pkg to creating a single executable binary. This time of year is super busy however so it's going to have to wait a few weeks.

LeePorte commented 2 years ago

+1 to this

simojenki commented 2 years ago

Perhaps this project could make that happen -> https://github.com/vercel/pkg

u8915055 commented 10 months ago

Not sure if this still works or whether any further work has been done on this. I really want to run this as an LXC. Im working through it but finding the script now fails in a couple places.. I think some of the dependencies are no longer valid. I will try to post whatever i do to make this work on LXC if i get there.

Currently the error i have is . . .

node-pre-gyp ERR! install response status 404 Not Found on https://github.com/marudor/libxmljs2/releases/download/v0.32.0/node-v120-linux-x64-glibc.tar.gz 

Im guessing this is just a versioning issue.. will see if i can modify. Im just wondering if @jparnzen might have updated this aready. Thanks so much for the work here!

u8915055 commented 10 months ago

so when i follow that error above, v120 doesnt seem to be there, the newest is 115 but i have changed reference to 120 in many places but i just cant get it to work.

u8915055 commented 10 months ago

i could never get this to go.. i assume it needs some updating. i did try another version of this (see other issue here #92 where someone gave the instructions on how to build on Arch Linux. I created an LXC under proxmox and its working!