|
| 1 | +[linuxserverurl]: https://linuxserver.io |
| 2 | +[forumurl]: https://forum.linuxserver.io |
| 3 | +[ircurl]: https://www.linuxserver.io/irc/ |
| 4 | +[podcasturl]: https://www.linuxserver.io/podcast/ |
| 5 | +[appurl]: https://github.com/theotherp/nzbhydra2 |
| 6 | +[hub]: https://hub.docker.com/r/linuxserver/hydra2/ |
| 7 | + |
| 8 | +[][linuxserverurl] |
| 9 | + |
| 10 | +The [LinuxServer.io][linuxserverurl] team brings you another container release featuring easy user mapping and community support. Find us for support at: |
| 11 | +* [forum.linuxserver.io][forumurl] |
| 12 | +* [IRC][ircurl] on freenode at `#linuxserver.io` |
| 13 | +* [Podcast][podcasturl] covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation! |
| 14 | + |
| 15 | +# linuxserver/hydra2 |
| 16 | +[](https://microbadger.com/images/linuxserver/hydra2 "Get your own version badge on microbadger.com")[](https://microbadger.com/images/linuxserver/hydra2 "Get your own image badge on microbadger.com")[][hub][][hub][](https://ci.linuxserver.io/job/Docker-Builders/job/x86-64/job/x86-64-hydra2/) |
| 17 | + |
| 18 | +NZBHydra is a meta search for NZB indexers and the "spiritual successor" to NZBmegasearcH. It provides easy access to a number of raw and newznab based indexers. [hydra](https://github.com/theotherp/nzbhydra) |
| 19 | + |
| 20 | +[][appurl] |
| 21 | + |
| 22 | +## Usage |
| 23 | + |
| 24 | +``` |
| 25 | +docker create --name=hydra2 \ |
| 26 | +-v <path to data>:/config \ |
| 27 | +-v <nzb download>:/downloads \ |
| 28 | +-e PGID=<gid> -e PUID=<uid> \ |
| 29 | +-e TZ=<timezone> \ |
| 30 | +-p 5075:5075 linuxserver/hydra2 |
| 31 | +``` |
| 32 | + |
| 33 | +## Parameters |
| 34 | + |
| 35 | +`The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. |
| 36 | +For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container. |
| 37 | +So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 |
| 38 | +http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.` |
| 39 | + |
| 40 | + |
| 41 | +* `-p 5075` - the port(s) |
| 42 | +* `-v /config` - Where hydra2 should store config files |
| 43 | +* `-v /downloads` - NZB download folder |
| 44 | +* `-e PGID` for GroupID - see below for explanation |
| 45 | +* `-e PUID` for UserID - see below for explanation |
| 46 | +* `-e TZ` for timezone EG. Europe/London |
| 47 | + |
| 48 | +It is based on alpine linux with s6 overlay, for shell access whilst the container is running do `docker exec -it hydra2 /bin/bash`. |
| 49 | + |
| 50 | +### User / Group Identifiers |
| 51 | + |
| 52 | +Sometimes when using data volumes (`-v` flags) permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user `PUID` and group `PGID`. Ensure the data volume directory on the host is owned by the same user you specify and it will "just work" ™. |
| 53 | + |
| 54 | +In this instance `PUID=1001` and `PGID=1001`. To find yours use `id user` as below: |
| 55 | + |
| 56 | +``` |
| 57 | + $ id <dockeruser> |
| 58 | + uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup) |
| 59 | +``` |
| 60 | + |
| 61 | +## Setting up the application |
| 62 | + |
| 63 | +The web interface is at `<your ip>:5075` , to set up indexers and connections to your nzb download applications. |
| 64 | + |
| 65 | + |
| 66 | +## Info |
| 67 | + |
| 68 | +* To monitor the logs of the container in realtime `docker logs -f hydra2`. |
| 69 | + |
| 70 | +* container version number |
| 71 | + |
| 72 | +`docker inspect -f '{{ index .Config.Labels "build_version" }}' hydra2` |
| 73 | + |
| 74 | +* image version number |
| 75 | + |
| 76 | +`docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/hydra2` |
| 77 | + |
| 78 | +## Versions |
| 79 | + |
| 80 | ++ **12.12.17:** Rebase to alpine 3.7. |
| 81 | ++ **20.07.17:** Internal git pull instead of at runtime. |
| 82 | ++ **25.05.17:** Rebase to alpine 3.6. |
| 83 | ++ **07.11.16:** Move git clone internal to the container, |
| 84 | +point config, database and log to use same locations for existing users. |
| 85 | ++ **14.10.16:** Add version layer information. |
| 86 | ++ **09.09.16:** Add layer badges to README. |
| 87 | ++ **28.08.16:** Add badges to README. |
| 88 | ++ **08.08.16:** Rebase to alpine linux. |
| 89 | ++ **25.01.16:** Initial Release. |
0 commit comments