Jump to content
aptalca

(Support) Aptalca's docker templates

1182 posts in this topic Last Reply

Recommended Posts

I had been holding onto my beta6 for a long time with my trustworthy Xen Ubuntu VM running all of my apps. But running out of space and having to add a new drive forced me to update and switch all drives to XFS. While at it, I gave docker a shot and what can I say. . . I was pretty impressed. I switched almost everything to docker containers and decided to scrap the VM for the moment.

 

But. . . not everything running in my VM was available as dockers. So I put together the following docker templates to replace some of those services. I hope you find them just as useful.

 

Special thanks to HurricaneHernandez for creating and maintaining the dockergui baseimage. All of my rdp/vnc based dockers are using his baseimage. Also thanks to Sparklyballs for showing me how to use them.

 

Aptalca's Docker Template Repo:

https://github.com/aptalca/docker-templates

 

Installation:

Option 1 (Preferred method):

Option 2:

  • Go to the Docker tab in unRaid GUI
  • Copy and paste Aptalca's Template Repo from above into the Template Repositories box and hit save
  • Click on "Add Container" and you can see my container templates under the "Templates" dropdown
  • Enter the required info and hit create
  • Profit

 

Available Dockers:

 

width=45http://calibre-ebook.com/favicon.ico[/img]  Calibre-server: Calibre is an e-book management software. This docker app allows you to serve your e-books to remote clients through the web browser. Note: this is the server version, not the full GUI.

https://github.com/aptalca/docker-calibre

https://registry.hub.docker.com/u/aptalca/docker-calibre/

 

width=45http://calibre-ebook.com/favicon.ico[/img]  RDP-Calibre: Calibre is an e-book management software. RDP-Calibre is a combo docker for calibre web server and gui (through RDP). With this docker, you get the best of both worlds, and they both use the same database.

https://github.com/aptalca/docker-rdp-calibre

https://registry.hub.docker.com/u/aptalca/docker-rdp-calibre/

 

width=45http://www.openremote.org/download/attachments/11468891/OpenRemote%20iTunes%20Icon%20512x512.png[/img]  OpenRemote: OpenRemote is software integration platform for residential and commercial building automation. OpenRemote allows you to create your own Android or iOS remote interfaces. This docker app will host your custom remote interfaces. Please visit http://openremote.org/display/docs/Get+Started to get started and create your designer account.

https://github.com/aptalca/docker-openremote

https://registry.hub.docker.com/u/aptalca/docker-openremote/

 

width=45https://duckdns.org/img/ducky_icon.png[/img]  DuckDNS: Duckdns is a free dynamic DNS service hosted on Amazon VPC. Unlike most other free dynamic DNS providers, DuckDNS accounts do not require periodic user action to keep them alive. Visit http://www.duckdns.org to register your domain.

https://github.com/aptalca/docker-duckdns

https://registry.hub.docker.com/u/aptalca/docker-duckdns/

 

width=45http://www.pddesign.com.au/img/blog/home-surveillance/zoneminder-logo-01.png[/img]  Zoneminder: ZoneMinder is the top Linux video camera security and surveillance solution. This container installs the older version 1.28.

https://github.com/aptalca/docker-zoneminder

https://registry.hub.docker.com/u/aptalca/docker-zoneminder/

 

width=45http://www.pddesign.com.au/img/blog/home-surveillance/zoneminder-logo-01.png[/img]  Zoneminder-1.29: ZoneMinder is the top Linux video camera security and surveillance solution. This container installs the newer version 1.29, which includes the new api

https://github.com/aptalca/docker-zoneminder/tree/v1.29

https://hub.docker.com/r/aptalca/zoneminder-1.29/

 

width=45http://boinc.berkeley.edu/logo/boinc_logo_128_trans.png[/img]  RDP-Boinc: BOINC lets you contribute computing power on your home PC to projects doing research in many scientific areas. You can contribute to a single project, or to any combination of them. RDP-Boinc is a docker for the BOINC manager and client that can be accessed through RDP.

https://github.com/aptalca/docker-rdp-boinc

https://registry.hub.docker.com/u/aptalca/docker-rdp-boinc/

 

width=45http://www.h-online.com/imgs/43/6/9/3/5/4/7/Digikam-logo200-22eb510f46d16449.png[/img]  DigiKam: DigiKam is an advanced digital photo management application. The people who inspired digiKam's design are the photographers like you who want to view, manage, edit, enhance, organize, tag, and share photographs under Linux systems.

https://github.com/aptalca/docker-digikam

https://registry.hub.docker.com/u/aptalca/docker-digikam/

 

width=45http://upload.wikimedia.org/wikipedia/commons/thumb/2/21/Dolphin-icon.svg/500px-Dolphin-icon.svg.png[/img]  Dolphin: Dolphin is KDE's default file manager. With this docker, you can access the dolphin interface through a web browser.

https://github.com/aptalca/docker-dolphin

https://registry.hub.docker.com/u/aptalca/docker-dolphin/

 

width=45http://upload.wikimedia.org/wikipedia/commons/f/f7/Jdownloader.png[/img]  JDownloader 2: JDownloader is a free, open-source download management tool with a huge community of developers that makes downloading as easy and fast as it should be. Users can start, stop or pause downloads, set bandwith limitations, auto-extract archives and much more. It's an easy-to-extend framework that can save hours of your valuable time every day! JDownloader 2 also has a webserver accessible through http://my.jdownloader.org

https://github.com/aptalca/docker-jdownloader2

https://registry.hub.docker.com/u/aptalca/docker-jdownloader2/

 

width=45https://raw.githubusercontent.com/lokenx/plexrequests-meteor/master/public/favicon.ico[/img]  Plex Requests: Are people constantly asking you to add new content to your Plex Server? Frequent late night texts asking for a new release that's not out yet? Wouldn't it be easier to just send them to a website where they could submit their requests? Enter Plex Requests! See the following link for setup instructions: https://github.com/lokenx/plexrequests-meteor/blob/master/README.md

https://github.com/aptalca/docker-plexrequests

https://registry.hub.docker.com/u/aptalca/docker-plexrequests/

 

width=45http://www.cdrinfo.com/Images/Uploaded/Amazon_Echo_logo_120.jpg[/img]  AmazonEcho-HA-Bridge This container has been deprecated. Please use the Home-Automation-Bridge listed below as it does the same things and more: Bridge Amazon Echo with your home automation controller for voice control of connected devices (tested with Vera, but should work with any HA device that accepts http commands). See the linked thread for setup instructions: http://forum.micasaverde.com/index.php/topic,31920.msg231970.html#msg231970

https://github.com/aptalca/docker-amazon-echo-ha-bridge

https://registry.hub.docker.com/u/aptalca/docker-amazon-echo-ha-bridge/

 

width=45http://www.cdrinfo.com/Images/Uploaded/Amazon_Echo_logo_120.jpg[/img]  Home-Automation-Bridge: Bridge Amazon Echo with your home automation controller or Harmony Hub for voice control of connected devices (Vera and Harmony devices retrieved automatically). This is a docker implementation of bwssystems' home automation bridge - https://github.com/bwssytems/ha-bridge

https://github.com/aptalca/docker-ha-bridge/

https://registry.hub.docker.com/u/aptalca/home-automation-bridge/

 

width=45http://technoloman.com/wp-content/uploads/2015/12/Lets_encrypt_logo.png[/img]  Nginx-letsencrypt: Nginx based webserver with a built-in letsencrypt client that automates free SSL certificate generation and renewal processes. Also includes fail2ban for security

http://lime-technology.com/forum/index.php?topic=43696.msg437353#msg437353 (sample reverse proxy config)

https://github.com/aptalca/docker-webserver/

https://registry.hub.docker.com/u/aptalca/nginx-letsencrypt/

 

Changelog:

 

I am no longer updating the changelog here. You can find them on the container github or docker hub pages, or in the Community Applications listing

 

[b]12/04/2015[/b]
[i]Home-Automation-Bridge[/i] - Update to version 1.2.1

[b]11/19/2015[/b]
[i]Home-Automation-Bridge[/i] - Update to version 1.1.0

[b]11-04-2015[/b]
[i]Home-Automation-Bridge[/i] - Initial Release

[b]11/02/2015[/b]
[i]PlexRequests[/i] - Previous meteor update was preventing a git pull, this version fixes that issue

[b]10/27/2015[/b]
[i]Zoneminder[/i] - perl5/ZoneMinder folder is now persistent and available in the config folder to allow easy access for custom perl scripts - usbutils included in the package for usb camera support (needs to be further tested)

[b]08/20/2015[/b]
[i]AmazonEcho-HA-Bridge[/i] - Set max memory for java so it doesn't hog unnecessary ram - Allow for custom version install by setting environment variable VERSION=0.X.X under advanced settings

[b]08/17/2015[/b]
[i]AmazonEcho-HA-Bridge[/i] - Updated to release 0.2.1 - Runs as nobody instead of root - Updated to phusion 0.9.17

[b]08/16/2015[/b]
[i]JDownloader2[/i] - Switched to base xrdp1.3 so clipboard should work

[b]08/15/2015[/b]
[i]OpenRemote[/i] - Run as user nobody (instead of root) & Updated to Phusion 0.9.17

[b]08/09/2015[/b]
[i]PlexRequests[/i] - EDGE variable has been deprecated. To use a different branch (for testing and development purposes) please use the BRANCH variable under advanced view (default is "master") - Added auto-update mechanism for meteor on container start

[b]08/05/2015[/b]
[i]Duckdns[/i] - No more editing config files. The subdomains and token are entered as environment variables under advanced view during install. Existing users updating, please refer to the following post for more info: https://lime-technology.com/forum/index.php?topic=39413.msg399240#msg399240

[b]07/25/2015[/b]
[i]RDP-Calibre[/i] - Updated to 2.33 and added custom library location and url prefix, both of which are for advanced docker users only. See the following post for instructions: https://lime-technology.com/forum/index.php?topic=39413.msg396697#msg396697

[b]07/16/2015[/b]
[i]AmazonEcho-HA-Bridge[/i] - Updated to release 0.2.0

[b]06/24/2015[/b]
[i]AmazonEcho-HA-Bridge[/i] - Added ability to change server port to prevent conflict at port 8080 (see second post below for details)

[b]06/13/2015[/b]
[i]Zoneminder[/i] - Major update - Implemented memory fix for HD streams and switched back to phusion base. You might have to do a fresh install from community repositories. See this post for details: https://lime-technology.com/forum/index.php?topic=39413.msg383552#msg383552

[b]06/05/2015[/b]
[i]AmazonEcho-HA-Bridge[/i] - Enabled WebUI for much easier device management

[b]05/31/2015[/b]
[i]AmazonEcho-HA-Bridge[/i] - Update to 0.1.3 - Dimming function added

[b]05/22/2015[/b]
[i]AmazonEcho-HA-Bridge[/i] - Release

[b]05/20/2015[/b]
[i]Zoneminder[/i] - Minor update - fixed mysql database preservation, all settings should be persistent going forward, updated to the latest phusion build

[b]05/19/2015[/b]
[i]PlexRequests[/i] - Minor update - EDGE=1 variable added to switch to the dev branch (under Advanced View)
[i]Zoneminder[/i] - Minor update - Fixed permissions that prevented recording, but realized certain settings get lost during an update, issue is currently under review

[b]05/18/2015[/b]
[i]PlexRequests[/i] - Release

[b]05/15/2015[/b]
[i]RDP-Calibre[/i] - Update - Implemented self updating through edge variable. Might have to remove container and reinstall from repo to get the latest xml with the edge variable (or you can manually input EDGE and 1)

[b]05/08/2015[/b]
[i]JDownloader 2[/i] - Release

[b]05/07/2015[/b]
[i]Dolphin[/i] - Release

[b]05/06/2015[/b]
[i]DigiKam[/i] - Minor update - DigiKam updated to 4.9.0, EDGE variable added to enable future updates

[b]05/05/2015[/b]
[i]RDP-Calibre[/i] - Minor update - switched the base to hurricane's new dockergui baseimage.
[i]RDP-Boinc[/i] - Minor update - switched the base to hurricane's new dockergui baseimage.

[b]05/03/2015[/b]
[i]DigiKam[/i] - Release

[b]05/01/2015[/b]
[i]RDP-Calibre[/i] - Major update - No rdp client necessary. New docker has built-in WebUI thanks to hurricanehernandez and sparklyballs for their amazing work creating the guacamole server base and simplifying the dockerfile. [b]Please remove and reinstall from community repositories or a fresh xml as port options have changed[/b]
[i]RDP-Boinc[/i] - Major update - No rdp client necessary. New docker has built-in WebUI thanks to hurricanehernandez and sparklyballs for their amazing work creating the guacamole server base and simplifying the dockerfile. [b]Please remove and reinstall from community repositories or a fresh xml as port options have changed[/b]

[b]04/29/2015[/b]
[i]RDP-Boinc[/i] - Minor update to set the local time correctly

[b]04/28/2015[/b]
[i]RDP-Boinc[/i] - Release
[i]RDP-Calibre[/i] - Minor update (new container is using an rdp-base container that will be shared among all of my rdp based dockers, that way not only they take less space if you use multiples, but they will update faster, and I can build so much faster)
[i]RDP-Calibre[/i] - Release

[b]04/27/2015[/b]
[i]Zoneminder [/i]- Release (Please test, I don't have cameras set up at the moment)
[i]DuckDNS [/i]- minor - update maintainer

[b]04/20/2015[/b]
[i]Calibre-server[/i] - Release
[i]OpenRemote[/i] - Release
[i]DuckDNS [/i]- Release

Share this post


Link to post

Instructions for Dockergui based containers - DigiKam, RDP-Calibre and RDP-Boinc

 

These containers are linux desktop apps that open in a web browser thanks to HurricaneHernandez's awesome Dockergui baseimage (guacamole server based).

 

All you have to do is open the WebUI. The default resolution is 1280x720, but can be changed by clicking on the container name, selecting Advanced View and modifying the WIDTH and HEIGHT variables.

 

Tips for setting up Zoneminder (older version, which installs 1.28)

Please see here: https://hub.docker.com/r/aptalca/docker-zoneminder/

 

Instructions for the Zoneminder 1.29 version

Please see here: https://hub.docker.com/r/aptalca/zoneminder-1.29/

 

Instructions for Nginx-letsencrypt

Please see here: https://hub.docker.com/r/aptalca/nginx-letsencrypt/

Additional support provided in this thread: http://lime-technology.com/forum/index.php?topic=43696.0

Share this post


Link to post

How do you go about adding books to the calibre server?

 

Unfortunately the server doesn't make that part easy. But there are a couple of options:

 

1. Easiest way is to run calibre on another computer, add the books on there using the GUI, find the library folder and copy all of its contents into this docker's local library / config folder.

 

I already had calibre on another computer with my full library. I went to its library folder, which contained the metadata database, as well as all the books I had (books are stored neatly in individual author folders). Copied them all to the docker folder (first stop the docker just in case). When I restarted the docker, attached pic is what I saw.

 

2. Another option is to get into the running docker's terminal and use calibre's command line tools to add books

You can execute the following command in unraid terminal to get into calibre docker:

docker exec -it Calibre-server bash

Then you can use calibre command line options detailed on their site: http://manual.calibre-ebook.com/cli/calibredb.html

Capture.jpg.9366e0864c41d0653317069bf5ddb83c.jpg

Share this post


Link to post

Awesome, option 2 is exactly what I was looking for.  I just wasn't sure how to execute the command line tool from an unraid terminal.

Share this post


Link to post

Awesome, option 2 is exactly what I was looking for.  I just wasn't sure how to execute the command line tool from an unraid terminal.

 

Sparklyballs also has a CalibreGUI in his repo if that's any use.  But if it's Calibre Server you're after you're in the right place.

 

See aptalca, told you someone would find it useful!  ;D

Share this post


Link to post

I may check that out.  I was able to get into the docker terminal, but then got an error that calibredb wasn't a known command.  I've been using calibre on windows, to convert books to mobi, then using dropbox to send them to my kindle. I was hoping to automate adding books to calibre and then a nice web interface to send them to my tablet, kindle, etc.

Share this post


Link to post

 

See aptalca, told you someone would find it useful!  ;D

 

;) I actually started using it too. Once I imported my existing library from the other install it became pretty useful. Now I can share it with friends

Share this post


Link to post

Got this installed and got my domain and token.

 

im guessing this is supposed to run in host mode not bridge and there's not gui for it?

Share this post


Link to post

Correct. The Duckdns container does not have a gui. It just runs in the background every 5 minutes and updates the IP address.

 

Host or bridge should not matter (I leave it as default bridge), as there is no port mapping due to no gui. I believe that setting is only for connections going into the container. In this case there are none.

 

It does have a log file in the local folder, that tells you when it was last updated. If it shows a time within the last 5 minutes, it is still running. If there was an error, it should tell you that as well.

Share this post


Link to post

Correct. The Duckdns container does not have a gui. It just runs in the background every 5 minutes and updates the IP address.

 

Host or bridge should not matter (I leave it as default bridge), as there is no port mapping due to no gui. I believe that setting is only for connections going into the container. In this case there are none.

 

It does have a log file in the local folder, that tells you when it was last updated. If it shows a time within the last 5 minutes, it is still running. If there was an error, it should tell you that as well.

 

is not working for correctly, the log just says something went wrong but it doesn't tell me what

Im behind a pfsense box and i will check that but my other dockers do not have an issue.

 

Share this post


Link to post

First, make sure that you entered the domain correctly. If your full domain is abcdef.duckdns.org, only enter abcdef in the config file

 

Then test whether your domain and token are correct. Type the following address into the address bar of any browser but first replace the token and domain XXXX's with yours:

 

https://www.duckdns.org/update?domains=XXXXXXXXXX&token=XXXXXXXXX&ip=

 

If it works, you should see an "OK" message on the page, that means your token and domain are correct and you can move to the next step below. If not, it will output a "KO" then you revisit your domain and token on their website to make sure they are set up properly.

 

Then you can test whether you can reach the duckdns website from your unraid box. In the unraid terminal, type this command (replace the domain and token with yours):

 

curl "https://www.duckdns.org/update?domains=XXXXXXXX&token=XXXXXXXXX&ip="

 

If all works, you should see an OK message. If you get a "KO" either revisit your domain and token, or check you pfsense settings (that's out of my control)

 

Then you can check whether your docker can reach duckdns. In the unraid terminal, execute the following commands but make sure you replace the domain and token with yours first (first command gets you into the duckdns container's bash, second one pings duckdns)

 

docker exec -it Duckdns bash
curl "https://www.duckdns.org/update?domains=XXXXXXXXX&token=XXXXXXXXX&ip="

 

If you get an OK, let me know and we'll have to do more troubleshooting. If you get a KO, well i doubt you'll get one if you got OKs in the prior steps.

Share this post


Link to post

thanks for you help, i was using the FQDN in my conf and when i fixed it i got all OK's

Share this post


Link to post

Hey aptalca, is it possible for you to replace the openremote icon with this one?

 

http://www.openremote.org/download/attachments/11468891/OpenRemote%20iTunes%20Icon%20512x512.png

 

As the current one is pretty pixelated. Thanks!

 

Thanks so much. That one is much better than using the 16x16 favicon

 

I replaced it.

 

You might have to update the repositories and refresh the browser

 

EDIT: Update and refresh works for the logo in the community repositories. But I could not change the logo for the installed docker. Even removing and adding did not fix it. It seems the old logo is cached by the dockerman plugin and it keeps using the old one.

 

I noticed that all those logos are stored on the flash drive under config/plugins/dockerMan/images. I deleted the old ones from there, so perhaps a restart will let the dockerman retrieve the new logos

Share this post


Link to post

Calibre full gui (RDP) & server combo docker added. See first and second posts

Share this post


Link to post

FYI,  this is a good docker, however I found out that you cannot do ports using duck dns, got the info from GNU tomorrow.

Share this post


Link to post

Does your isp block port 80?

 

AFAIK, port forwarding is only necessary if you're running a webserver at home (webservers typically use port 80), and your isp blocks port 80. So you can forward port 80 to a different one that is not blocked by your isp.

 

If you mean forwarding port xyz to port xyz, duckdns does it. For instance if your sabnzbd interface is accessible on port 5000 (also forwarded by your router), if you go to domain.duckdns.org:5000, you will reach the sab interface.

Share this post


Link to post

Does your isp block port 80?

 

AFAIK, port forwarding is only necessary if you're running a webserver at home (webservers typically use port 80), and your isp blocks port 80. So you can forward port 80 to a different one that is not blocked by your isp.

 

If you mean forwarding port xyz to port xyz, duckdns does it. For instance if your sabnzbd interface is accessible on port 5000 (also forwarded by your router), if you go to domain.duckdns.org:5000, you will reach the sab interface.

 

YES sab option, tried and tried it would not work. Made sure firewall port is forwarded. Nope.

I had an account from no-ip from a while back. set that puppy up and voila it was instant.

 

I used the no-ip option and  I also got tonido to be reach from the outside. So like i said this a good docker because i can see that it would update the ip but would not resolve the port.

 

I got the info from here. http://www.gnutomorrow.com/best-free-dynamic-dns-services-in-2013/ scroll down to duck dns

which is a link from the duckdns webpage FAQ section

Share this post


Link to post

I'm using it for 7 different services, all running on different ports (including pptp vpn). Duckdns forwards all of them.

 

Check either your router firewall or pfsense settings. Most likely one of the two is the issue.

 

Duckdns does port forwarding 1:1. It will forward the port to the same one. What it won't do is forward one port to another, like forward port 80 to port 8080 to get around isp blocking of port 80. That article is referring to the latter.

 

One other thing, go on duckdns.org and login. Make sure that the ip address they have for you on there is correct.

 

PS. that article is also outdated. Duckdns now allows up to 4 domains per account.

Share this post


Link to post

will do.

 

Its working now, got to be smarter than the computer, i was trying to get to from my own network, went on the outside and boom.

 

im such a DA

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.