May 22, 20179 yr So I'm about to buy a couple of IP camera's and I wanted some nice software to use it with, I used zoneminder but the UI was a killer for me, I saw a post on /r/selfhosted that people liked Shinobi so I decided to make a docker template for it! <?xml version="1.0"?> <Container version="2"> <Name>shinobi</Name> <Repository>shinobicctv/shinobi</Repository> <Registry>https://hub.docker.com/r/shinobicctv/shinobi/~/dockerfile/</Registry> <Network>bridge</Network> <Privileged>false</Privileged> <Support>https://hub.docker.com/r/shinobicctv/shinobi/</Support> <Overview>Streams by WebSocket, and Save to WebM. Shinobi can record IP Cameras and Local Cameras. &lt;br /&gt; &lt;br /&gt;
 
 If you used the default databse the login credentials for the WebUI are: &lt;br /&gt;
 Username : [email protected] &lt;br /&gt;
 Password : password &lt;br /&gt; &lt;br /&gt;
 
 To change these credentials after logged in. &lt;br /&gt;
 
 1. Login &lt;br /&gt;
 2. Click user email located at the top right of the dashboard. &lt;br /&gt;
 3. Open Settings. &lt;br /&gt;
 4. Change details to your liking. &lt;br /&gt;&lt;br /&gt;
 [b]Converted By Community Applications[/b] </Overview> <Category/> <WebUI>http://[IP]:[PORT:8083]</WebUI> <TemplateURL/> <Icon>https://pbs.twimg.com/profile_images/850880216666849280/c2iECrEE.jpg</Icon> <ExtraParams/> <DateInstalled>1495465372</DateInstalled> <Description>Streams by WebSocket, and Save to WebM. Shinobi can record IP Cameras and Local Cameras. &lt;br /&gt; &lt;br /&gt;
 
 If you used the default databse the login credentials for the WebUI are: &lt;br /&gt;
 Username : [email protected] &lt;br /&gt;
 Password : password &lt;br /&gt; &lt;br /&gt;
 
 To change these credentials after logged in. &lt;br /&gt;
 
 1. Login &lt;br /&gt;
 2. Click user email located at the top right of the dashboard. &lt;br /&gt;
 3. Open Settings. &lt;br /&gt;
 4. Change details to your liking. &lt;br /&gt;&lt;br /&gt;
 [b]Converted By Community Applications[/b] </Description> <Networking> <Mode>bridge</Mode> <Publish> <Port> <HostPort>8083</HostPort> <ContainerPort>8083</ContainerPort> <Protocol>tcp</Protocol> </Port> <Port> <HostPort>3314</HostPort> <ContainerPort>3314</ContainerPort> <Protocol>tcp</Protocol> </Port> </Publish> </Networking> <Data> <Volume> <HostDir>/mnt/user/videos/</HostDir> <ContainerDir>/opt/shinobi/videos</ContainerDir> <Mode>rw</Mode> </Volume> <Volume> <HostDir>/mnt/user/appdata/shinobi</HostDir> <ContainerDir>/var/log/mysql/</ContainerDir> <Mode>rw</Mode> </Volume> </Data> <Environment/> <Config Name="Host Path 1" Target="/opt/shinobi/videos" Default="/opt/shinobi/videos" Mode="rw" Description="Container Path: /opt/shinobi/videos" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/videos/</Config> <Config Name="WebUI port" Target="8083" Default="" Mode="tcp" Description="Container Port: 8083" Type="Port" Display="always" Required="true" Mask="false">8083</Config> <Config Name="Port" Target="3314" Default="" Mode="tcp" Description="Container Port: 3314" Type="Port" Display="always" Required="true" Mask="false">3314</Config> <Config Name="MySQL logs" Target="/var/log/mysql/" Default="/mnt/user/appdata/shinobi" Mode="rw" Description="Container Path: /var/log/mysql/" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/shinobi</Config> </Container> To be fair, I haven't even tested it with camera's because I haven't set mine up yet but I would love some feedback if anyone can see something I can clean up. Shout out to the developers for making this software and /r/selfhosted for the idea :^)
May 22, 20179 yr Author How do we install this? Would like to try!You could copy this XML and use it yourself, I think I cant publish it to the community apps thing because I need to submit it. if you need an explanation I could help you out in a hour or soSent from my SM-G935F using Tapatalk
May 22, 20179 yr Author Alright if you use a client like WinSCP you can navigate to /boot/config/plugins/dockerMan/templates-user and then create new document (notepad, notepad++ etc.) paste the XML in there (all that text in my main post) save it as .xml, so something like "my-shinobi.xml" Now it should be a docker template so you can add it on the docker template with "add container" and customize it to your liking If you have any problems I would love to hear it, I'll ask a mod to add it to the apps store soon but I want to make sure this template is "good"
May 23, 20179 yr 4 hours ago, Zero said: I'll ask a mod to add it to the apps store soon Believe that would be @Squid.
May 25, 20179 yr The container works fine. (The email for changing settings in in upper left corner, not right [emoji14] ). Shinobi doesn't really like 5mp camera's though I think. Does not really run smooth. Sent from my Pixel XL using Tapatalk
May 25, 20179 yr Author 9 hours ago, beire said: The container works fine. (The email for changing settings in in upper left corner, not right ). Shinobi doesn't really like 5mp camera's though I think. Does not really run smooth. Sent from my Pixel XL using Tapatalk If you're stream is lagging you can tune the quality down (1 highest, 25 lowest) and if you're recording, did you change the fps from 5 to higher? because it's 5 on default? And great to hear the docker is working! Did you use this XML or did you download it from CA? I requested it to be posted on CA but it stopped working so they pulled it, so I would love to hear if you're using this XML or the CA template.
May 25, 20179 yr I was using the XML. I did not think it would already be available in CA. I changed FPS to 30 (camera fps). Even on lower quality the stream is choppy. I am used to streaming multiple camera's in live view at full fps, full quality. Finding a good free software is not easy.
May 26, 20179 yr 22 hours ago, Zero said: Did you use this XML or did you download it from CA? I requested it to be posted on CA but it stopped working so they pulled it, so I would love to hear if you're using this XML or the CA template. While it was available within CA, it didn't matter whether or not it was installed via CA or by the template posted above (assuming they were equivalent except for the addition of the Categories) The template within CA is passed straight through to dockerMan. If/when the issues with the docker are resolved (I tried it myself before pulling it, and the same symptoms - nothing in the log at all, no UI, etc) then the app can be reinstated
May 26, 20179 yr Author 10 hours ago, Squid said: While it was available within CA, it didn't matter whether or not it was installed via CA or by the template posted above (assuming they were equivalent except for the addition of the Categories) The template within CA is passed straight through to dockerMan. If/when the issues with the docker are resolved (I tried it myself before pulling it, and the same symptoms - nothing in the log at all, no UI, etc) then the app can be reinstated I'm not saying CA is the problem but I'm just trying to determine where I exactly fucked up. If I want to be sure I don't have any previous files of the docker are left, what directories should I make sure I've deleted? (e.g. dockerman, appdata etc.)
May 26, 20179 yr The appdata is the only thing needed to remove. You don't need to worry about the docker.img, as any layers that aren't being used by a new pull won't be used.
June 23, 20179 yr I got it working changing the following - ports changed in bright green >shinobicctv/shinobi</Repository> <Registry>https://hub.docker.com/r/shinobicctv/shinobi/~/dockerfile/</Registry> <Network>bridge</Network> <Privileged>false</Privileged> <Support>https://hub.docker.com/r/shinobicctv/shinobi/</Support> <Overview>Streams by WebSocket, and Save to WebM. Shinobi can record IP Cameras and Local Cameras. &lt;br /&gt; &lt;br /&gt;
 
 If you used the default databse the login credentials for the WebUI are: &lt;br /&gt;
 Username : [email protected] &lt;br /&gt;
 Password : password &lt;br /&gt; &lt;br /&gt;
 
 To change these credentials after logged in. &lt;br /&gt;
 
 1. Login &lt;br /&gt;
 2. Click user email located at the top right of the dashboard. &lt;br /&gt;
 3. Open Settings. &lt;br /&gt;
 4. Change details to your liking. &lt;br /&gt;&lt;br /&gt;
 [b]Converted By Community Applications[/b] </Overview> <Category/> <WebUI>http://[IP]:[PORT:8083]</WebUI> <TemplateURL/> <Icon>https://pbs.twimg.com/profile_images/850880216666849280/c2iECrEE.jpg</Icon> <ExtraParams/> <DateInstalled>1495465372</DateInstalled> <Description>Streams by WebSocket, and Save to WebM. Shinobi can record IP Cameras and Local Cameras. &lt;br /&gt; &lt;br /&gt;
 
 If you used the default databse the login credentials for the WebUI are: &lt;br /&gt;
 Username : [email protected] &lt;br /&gt;
 Password : password &lt;br /&gt; &lt;br /&gt;
 
 To change these credentials after logged in. &lt;br /&gt;
 
 1. Login &lt;br /&gt;
 2. Click user email located at the top right of the dashboard. &lt;br /&gt;
 3. Open Settings. &lt;br /&gt;
 4. Change details to your liking. &lt;br /&gt;&lt;br /&gt;
 [b]Converted By Community Applications[/b] </Description> <Networking> <Mode>bridge</Mode> <Publish> <Port> <HostPort>8080</HostPort> <ContainerPort>8080</ContainerPort> <Protocol>tcp</Protocol> </Port> <Port> <HostPort>3314</HostPort> <ContainerPort>3314</ContainerPort> <Protocol>tcp</Protocol> </Port> </Publish> </Networking> <Data> <Volume> <HostDir>/mnt/user/videos/</HostDir> <ContainerDir>/opt/shinobi/videos</ContainerDir> <Mode>rw</Mode> </Volume> <Volume> <HostDir>/mnt/user/appdata/shinobi</HostDir> <ContainerDir>/var/log/mysql/</ContainerDir> <Mode>rw</Mode> </Volume> </Data> <Environment/> <Config Name="Host Path 1" Target="/opt/shinobi/videos" Default="/opt/shinobi/videos" Mode="rw" Description="Container Path: /opt/shinobi/videos" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/videos/</Config> <Config Name="WebUI port" Target="8080" Default="" Mode="tcp" Description="Container Port: 8080" Type="Port" Display="always" Required="true" Mask="false">8080</Config> <Config Name="Port" Target="3314" Default="" Mode="tcp" Description="Container Port: 3314" Type="Port" Display="always" Required="true" Mask="false">3314</Config> <Config Name="MySQL logs" Target="/var/log/mysql/" Default="/mnt/user/appdata/shinobi" Mode="rw" Description="Container Path: /var/log/mysql/" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/shinobi</Config> </Container> Edited June 23, 20179 yr by bennymundz
August 18, 20178 yr Hi bennymudz. I used your updated docker template for shinobi but without luck. Shinobi doesn't start and there is no logs Could you re-check it? Edited August 18, 20178 yr by w^w
Archived
This topic is now archived and is closed to further replies.