COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 03-28-2020, 01:57 PM   #1
zeppelinux
Human being with feelings
 
Join Date: Mar 2020
Posts: 6
Default Docker image on DockerHub

Hi Ninjamers,

I added automated support for this workflow (GitHub + DockerHub):

Push Git Tag -> Linux Compile -> Create Release -> Add binary to the release -> Build Docker image from the release on DockerHub

Using forked from the official mirror GitHub repo: https://github.com/zeppelinux/ninjam
Image is available in DockerHub https://hub.docker.com/r/zeppelinux/ninjam-server

The description in the DockerHub repository is auto generated from the git readme.md and there is not much info, so here are some basic instructions:

$ docker run -v /path/to/ninjam/config.cfg:/usr/local/ninjam/config.cfg -p 2049:2049 --name ninjam zeppelinux/ninjam-server:v0.083

Out of the box configuration.cfg is a copy of example.cfg from the git repositiry, so it doesn't accept all network connections and not allowing anonymous login.

I'm plaining to create something (yaml's or Helm chart) for Kubernetes deployment as well.

NINJAM is awesome, appreciate the idea and the implementation very much!


Cheers,
Dmitry

Last edited by zeppelinux; 06-19-2020 at 04:56 PM. Reason: fix the command
zeppelinux is offline   Reply With Quote
Old 04-27-2020, 01:03 PM   #2
tomphoolery
Human being with feelings
 
Join Date: Apr 2020
Location: Philadelphia
Posts: 5
Default

This is awesome! I wonder how a Ninjam server would fare in a Kubernetes workload...
tomphoolery is offline   Reply With Quote
Old 04-27-2020, 02:36 PM   #3
zeppelinux
Human being with feelings
 
Join Date: Mar 2020
Posts: 6
Default

Quote:
Originally Posted by tomphoolery View Post
This is awesome! I wonder how a Ninjam server would fare in a Kubernetes workload...
Thanks! I have it deployed (created a simple Helm chart, will share it soon) to the cluster and exposed, check it out open.jaminpeace.com:2049

When idle consumes very little resources, still looking forward to put some load on it
zeppelinux is offline   Reply With Quote
Old 04-28-2020, 01:28 AM   #4
zeppelinux
Human being with feelings
 
Join Date: Mar 2020
Posts: 6
Default

Helm Charts are created - makes everything highly automated.

Check it out https://forum.cockos.com/showthread.php?t=235302
zeppelinux is offline   Reply With Quote
Old 06-19-2020, 04:40 PM   #5
zeppelinux
Human being with feelings
 
Join Date: Mar 2020
Posts: 6
Default

Seems like I changed the config file name at some point (and broke the cmd line provided initially), fixed now.

There is also support for jam sessions persistence:

add/uncomment
SessionArchive /usr/local/ninjam/sessions/ 3600

docker run -v /path/to/ninjam/config.cfg:/usr/local/ninjam/config.cfg -v /your/local/sessions:/usr/local/ninjam/sessions -p 2049:2049 --rm --name ninjam zeppelinux/ninjam-server:v0.083

Last edited by zeppelinux; 06-19-2020 at 05:02 PM.
zeppelinux is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:39 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.