-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c5c8d21
Showing
10 changed files
with
270 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.git | ||
.gitignore | ||
.github | ||
.gitattributes | ||
READMETEMPLATE.md | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
# Custom for Visual Studio | ||
*.cs diff=csharp | ||
|
||
# Standard to msysgit | ||
*.doc diff=astextplain | ||
*.DOC diff=astextplain | ||
*.docx diff=astextplain | ||
*.DOCX diff=astextplain | ||
*.dot diff=astextplain | ||
*.DOT diff=astextplain | ||
*.pdf diff=astextplain | ||
*.PDF diff=astextplain | ||
*.rtf diff=astextplain | ||
*.RTF diff=astextplain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!--- Provide a general summary of the issue in the Title above --> | ||
|
||
[linuxserverurl]: https://linuxserver.io | ||
[][linuxserverurl] | ||
|
||
|
||
<!--- If you have an issue with the project, please provide us with the following information --> | ||
|
||
<!--- Host OS --> | ||
<!--- Command line users, your run/create command, GUI/Unraid users, a screenshot of your template settings. --> | ||
<!--- Docker log output, docker log <container-name> --> | ||
<!--- Mention if you're using symlinks on any of the volume mounts. --> | ||
|
||
|
||
<!--- If you have a suggestion or fix for the project, please provide us with the following information --> | ||
|
||
<!--- What you think your suggestion brings to the project, or fixes with the project --> | ||
<!--- If it's a fix, would it be better suited as a Pull request to the repo ? --> | ||
|
||
## Thanks, team linuxserver.io | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!--- Provide a general summary of your changes in the Title above --> | ||
|
||
[linuxserverurl]: https://linuxserver.io | ||
[][linuxserverurl] | ||
|
||
|
||
<!--- Before submitting a pull request please check the following --> | ||
|
||
<!--- That you have made a branch in your fork, we'd rather not merge from your master --> | ||
<!--- That if the PR is addressing an existing issue include, closes #<issue number> , in the body of the PR commit message --> | ||
<!--- You have included links to any files / patches etc your PR may be using in the body of the PR commit message --> | ||
<!--- --> | ||
|
||
## Thanks, team linuxserver.io | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Windows image file caches | ||
Thumbs.db | ||
ehthumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Windows Installer files | ||
*.cab | ||
*.msi | ||
*.msm | ||
*.msp | ||
|
||
# Windows shortcuts | ||
*.lnk | ||
|
||
# ========================= | ||
# Operating System Files | ||
# ========================= | ||
|
||
# OSX | ||
# ========================= | ||
|
||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear on external disk | ||
.Spotlight-V100 | ||
.Trashes | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
FROM lsiobase/alpine.python:3.7 | ||
|
||
# set version label | ||
ARG BUILD_DATE | ||
ARG VERSION | ||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" | ||
LABEL maintainer="sparklyballs" | ||
|
||
# set python to use utf-8 rather than ascii. | ||
ENV PYTHONIOENCODING="UTF-8" | ||
|
||
RUN \ | ||
echo "**** install build packages ****" && \ | ||
apk add --no-cache --virtual=build-dependencies \ | ||
gcc \ | ||
musl-dev \ | ||
python-dev && \ | ||
echo "install pip packages ****" && \ | ||
pip install -U \ | ||
regex \ | ||
scandir && \ | ||
echo "**** install app ****" && \ | ||
git clone https://github.com/SickGear/SickGear /app/sickgear && \ | ||
echo "**** cleanup ****" && \ | ||
apk del --purge \ | ||
build-dependencies | ||
|
||
# copy local files | ||
COPY root/ / | ||
|
||
# ports and volumes | ||
EXPOSE 8081 | ||
VOLUME /config /downloads /tv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[linuxserverurl]: https://linuxserver.io | ||
[forumurl]: https://forum.linuxserver.io | ||
[ircurl]: https://www.linuxserver.io/irc/ | ||
[podcasturl]: https://www.linuxserver.io/podcast/ | ||
|
||
[][linuxserverurl] | ||
|
||
## This is a Container in active development by the [LinuxServer.io][linuxserverurl] team and is not recommended for use by the general public. | ||
|
||
If you want to comment\contribute on this container , are looking for support on any of our other work , or are curious about us in general, check out the following. | ||
|
||
* [forum.linuxserver.io][forumurl] | ||
* [IRC][ircurl] on freenode at `#linuxserver.io` | ||
* [Podcast][podcasturl] covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
[linuxserverurl]: https://linuxserver.io | ||
[forumurl]: https://forum.linuxserver.io | ||
[ircurl]: https://www.linuxserver.io/irc/ | ||
[podcasturl]: https://www.linuxserver.io/podcast/ | ||
[appurl]: https://github.com/SickGear/SickGear | ||
[hub]: https://hub.docker.com/r/linuxserver/sickgear/ | ||
|
||
|
||
[][linuxserverurl] | ||
|
||
|
||
## Contact information:- | ||
|
||
| Type | Address/Details | | ||
| :---: | --- | | ||
| Forum | [Linuserver.io forum][forumurl] | | ||
| IRC | freenode at `#linuxserver.io` more information at:- [IRC][ircurl] | ||
| Podcast | Covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation! [Linuxserver.io Podcast][podcasturl] | | ||
|
||
|
||
The [LinuxServer.io][linuxserverurl] team brings you another image release featuring easy user mapping and based on alpine linux with s6 overlay. | ||
|
||
# linuxserver/sickgear | ||
[](https://microbadger.com/images/linuxserver/sickgear "Get your own version badge on microbadger.com")[](https://microbadger.com/images/linuxserver/sickgear "Get your own image badge on microbadger.com")[][hub][][hub][](https://ci.linuxserver.io/job/Docker-Builders/job/x86-64/job/x86-64-sickgear/) | ||
SickGear provides management of TV shows and/or Anime, it can detect new episodes, link to downloader apps, and more. SickGear is a proud descendant of Sick Beard and is humbled to have been endorsed by one of its former lead developers. | ||
|
||
Why SickGear? | ||
* SickGear maintains perfect uptime with the longest track record of being stable, reliable and trusted to work | ||
* SickGear delivers quality from active development with a wealth of options on a dark or light themed interface | ||
* [Migrating](https://github.com/SickGear/SickGear/wiki/Install-SickGear-%5B0%5D-Migrate) to a hassle free and feature rich set up is super simple | ||
|
||
[][appurl] | ||
n | ||
|
||
## Usage | ||
|
||
``` | ||
docker create \ | ||
--name=sickgear \ | ||
-v <path to data>:/config \ | ||
-v <path to data>:/config \ | ||
-v <path to data>:/config \ | ||
-e PGID=<gid> -e PUID=<uid> \ | ||
-p 8081:8081 \ | ||
linuxserver/sickgear | ||
``` | ||
|
||
| ||
|
||
## Parameters | ||
|
||
`The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. | ||
For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container. | ||
So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 | ||
http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.` | ||
|
||
|
||
|
||
| Parameter | Function | | ||
| :---: | --- | | ||
| `-p 8081` | the port(s) | | ||
| `-v /config` | where sickgear should store its config files | | ||
| `-v /downloads` | your downloads folder | | ||
| `-v /tv` | your tv-shows folder | | ||
| `-e PGID` | for GroupID, see below for explanation | | ||
| `-e PUID` | for UserID, see below for explanation | | ||
|
||
| ||
|
||
## User / Group Identifiers | ||
|
||
Sometimes when using 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 any volume directories on the host are owned by the same user you specify and it will "just work" ™. | ||
|
||
In this instance `PUID=1001` and `PGID=1001`, to find yours use `id user` as below: | ||
|
||
``` | ||
$ id <dockeruser> | ||
uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup) | ||
``` | ||
|
||
| ||
|
||
## Setting up the application | ||
|
||
Web interface is at `<your ip>:8081` , set paths for downloads, tv-shows to match docker mappings via the webui. | ||
|
||
| ||
|
||
## Container access and information. | ||
|
||
| Function | Command | | ||
| :--- | :--- | | ||
| Shell access (live container) | `docker exec -it sickgear /bin/bash` | | ||
| Realtime container logs | `docker logs -f sickgear` | | ||
| Container version number | `docker inspect -f '{{ index .Config.Labels "build_version" }}' sickgear` | | ||
| Image version number | `docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/sickgear` | | ||
|
||
| ||
|
||
## Versions | ||
|
||
| Date | Changes | | ||
| :---: | --- | | ||
| dd.MM.yy | Initial Release. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/with-contenv bash | ||
|
||
# permissions | ||
chown -R abc:abc \ | ||
/app \ | ||
/config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/with-contenv bash | ||
|
||
UMASK_SET=${UMASK_SET:-022} | ||
umask "$UMASK_SET" | ||
|
||
exec \ | ||
s6-setuidgid abc python /app/sickgear/SickBeard.py \ | ||
--datadir /config |