Paul Taylor Posted June 3, 2019 Share Posted June 3, 2019 (edited) Hi, I develop the SongKong music tagger application, and have a docker version of it and was made aware of unRAID by a SongKong/unRAID customer. I now have songkong running successfully on unRAID and have created some instructions for this - http://www.jthink.net/songkong/install_docker_unraid.jsp But I note three things: 1. Songkong is not listed by Community Apps unless you enable the DockerHub option 2. He mentioned unRAID docker templates, but I do not understand how to create these, and what advantages they would give. 3. DockerHub doesnt give an option to add an icon, is that something I can do with unRAID templates ? How can I improve my docker packaging for unRAID ? thanks Paul Edited June 3, 2019 by Paul Taylor Quote Link to comment
Squid Posted June 3, 2019 Share Posted June 3, 2019 Hi, I develop the SongKong music tagger application, and have a docker version of it and was made aware of unRAID by a SongKong/unRAID customer. I now have songkong running successfully on unRAID and have created some instructions for this - http://www.jthink.net/songkong/install_docker_unraid.jsp But I note three things: 1. Songkong is not listed by Community Apps unless you enable the DockerHub option 2. He mentioned unRAID docker templates, but I do not understand how to create these, and what advantages they would give. 3. DockerHub doesnt give an option to add an icon, is that something I can do with unRAID templates ? How can I improve my docker packaging for unRAID ? thanks Paul Enable template authoring mode in settings, docker (need to stop the service) then on the container screen switch to advanced view and show more settingsSent via telekinesis Quote Link to comment
Paul Taylor Posted June 3, 2019 Author Share Posted June 3, 2019 43 minutes ago, Squid said: Enable template authoring mode in settings, docker (need to stop the service) then on the container screen switch to advanced view and show more settings Do you mean I have to stop the Docker service (or just my app) since I cant see how to stop Docker service and hence cannot find Template Authoring Mode under Settings/Docker ? Quote Link to comment
itimpi Posted June 3, 2019 Share Posted June 3, 2019 2 minutes ago, Paul Taylor said: Do you mean I have to stop the Docker service (or just my app) since I cant see how to stop Docker service and hence cannot find Template Authoring Mode under Settings/Docker ? The first line under Settings->Docker is whether the service is enabled or not. Change it to No and then click Apply to stop the service. Quote Link to comment
Paul Taylor Posted June 3, 2019 Author Share Posted June 3, 2019 4 minutes ago, itimpi said: The first line under Settings->Docker is whether the service is enabled or not. Change it to No and then click Apply to stop the service. Ah, okay I was looking to close Docker on the Docker tab itself. Okay I have done that, enabled the option and renabled Docker I can see new options such as Categories and Support Thread. So I see that when I have done this and select Save its creates an Xml file, and I see there is a command, what do I do next, do I have to run that command somewhere ? Quote Link to comment
itimpi Posted June 3, 2019 Share Posted June 3, 2019 (edited) The contents of that XML file are used when you start a container on the Docker tab to construct the docker run command. Basically that is the template that CA requires. Some of the entries are Unraid specific and to do with things like pointing to a forum support thread for the container, or the WebUI (if it has one) for the container. Edited June 3, 2019 by itimpi Quote Link to comment
Paul Taylor Posted June 3, 2019 Author Share Posted June 3, 2019 2 minutes ago, itimpi said: The contents of that XML file are used when you start a container on the Docker tab to construct the docker run command. Basically that is the template that CA requires. Some of the entries are Unraid specific and to do with things like pointing to a forum support thread for the container, or the WebUI (if it has one) for the container. But I dont understand how do I make this available to my customers, where do I store this file so that when user uses Community Apps to install songkong they get this extra config ? Quote Link to comment
Squid Posted June 3, 2019 Share Posted June 3, 2019 Just now, Paul Taylor said: But I dont understand how do I make this available to my customers, where do I store this file so that when user uses Community Apps to install songkong they get this extra config ? https://forums.unraid.net/topic/57181-real-docker-faq/#comment-566084 In particular the Publishing to CA section Quote Link to comment
Paul Taylor Posted June 3, 2019 Author Share Posted June 3, 2019 (edited) 14 minutes ago, Squid said: https://forums.unraid.net/topic/57181-real-docker-faq/#comment-566084 In particular the Publishing to CA section Okay, thanks for yor patience I get the gist of this and I will work through it. Three immediate questions are: 1. SongKong works on music files and a /music path has to be configured, is there any kind of defacto location for unRAID for media files (I have used /mnt/user/media) so I can keep path in template, or even if there is not since /music is a mandatory requirement is it okay to leave in. 2. When running natively on Windows/Mac SongKong always use port 4567 so can I leave a port configured. 3. Is the support thread an unRAID forum thread or my own support forum (since I have my own forum) Edited June 3, 2019 by Paul Taylor Quote Link to comment
Paul Taylor Posted June 3, 2019 Author Share Posted June 3, 2019 For Publishing to CA does it have to be github or is bitbucket okay as well, since I always use bitbucket Quote Link to comment
itimpi Posted June 3, 2019 Share Posted June 3, 2019 15 minutes ago, Paul Taylor said: Okay, thanks for yor patience I get the gist of this and I will work through it. Three immediate questions are: 1. SongKong works on music files and a /music path has to be configured, is there any kind of defacto location for unRAID for media files (I have used /mnt/user/media) so I can keep path in template, or even if there is not since /music is a mandatory requirement is it okay to leave in. 2. When running natively on Windows/Mac SongKong always use port 4567 so can I leave a port configured. 3. Is the support thread an unRAID forum thread or my own support forum (since I have my own forum) 1). Everyone seems to be different. Setting /mnt/user/music might be a sensible default. 2). The container will have been built to use a specific port so It makes sense to provide the default port in the template. 3). I do not think that it is mandatory to have a forum thread, but someone else will have to weigh in here. Quote Link to comment
Squid Posted June 3, 2019 Share Posted June 3, 2019 6 minutes ago, Paul Taylor said: github This ^ Quote Link to comment
Squid Posted June 3, 2019 Share Posted June 3, 2019 45 minutes ago, itimpi said: 3. Is the support thread an unRAID forum thread or my own support forum (since I have my own forum) Just set the support entry on the template to your own forum (and set Project to your home page) Quote Link to comment
Paul Taylor Posted June 3, 2019 Author Share Posted June 3, 2019 (edited) Actually I created a forum in Lounge as it would make sense for interested unRAID users to be able to ask questions directly on the unRaid forum, now done gitHub and sent request. Edited June 3, 2019 by Paul Taylor Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.