Skip to content

Commit 88dbc2e

Browse files
committed
first save up
0 parents  commit 88dbc2e

File tree

10 files changed

+256
-0
lines changed

10 files changed

+256
-0
lines changed

.dockerignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.git
2+
.gitignore
3+
.github
4+
.gitattributes
5+
READMETEMPLATE.md
6+
README.md

.gitattributes

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Custom for Visual Studio
5+
*.cs diff=csharp
6+
7+
# Standard to msysgit
8+
*.doc diff=astextplain
9+
*.DOC diff=astextplain
10+
*.docx diff=astextplain
11+
*.DOCX diff=astextplain
12+
*.dot diff=astextplain
13+
*.DOT diff=astextplain
14+
*.pdf diff=astextplain
15+
*.PDF diff=astextplain
16+
*.rtf diff=astextplain
17+
*.RTF diff=astextplain

.github/ISSUE_TEMPLATE.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!--- Provide a general summary of the issue in the Title above -->
2+
3+
[linuxserverurl]: https://linuxserver.io
4+
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
5+
6+
7+
<!--- If you have an issue with the project, please provide us with the following information -->
8+
9+
<!--- Host OS -->
10+
<!--- Command line users, your run/create command, GUI/Unraid users, a screenshot of your template settings. -->
11+
<!--- Docker log output, docker log <container-name> -->
12+
<!--- Mention if you're using symlinks on any of the volume mounts. -->
13+
14+
15+
<!--- If you have a suggestion or fix for the project, please provide us with the following information -->
16+
17+
<!--- What you think your suggestion brings to the project, or fixes with the project -->
18+
<!--- If it's a fix, would it be better suited as a Pull request to the repo ? -->
19+
20+
## Thanks, team linuxserver.io
21+

.github/PULL_REQUEST_TEMPLATE.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!--- Provide a general summary of your changes in the Title above -->
2+
3+
[linuxserverurl]: https://linuxserver.io
4+
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
5+
6+
7+
<!--- Before submitting a pull request please check the following -->
8+
9+
<!--- That you have made a branch in your fork, we'd rather not merge from your master -->
10+
<!--- That if the PR is addressing an existing issue include, closes #<issue number> , in the body of the PR commit message -->
11+
<!--- You have included links to any files / patches etc your PR may be using in the body of the PR commit message -->
12+
<!--- -->
13+
14+
## Thanks, team linuxserver.io
15+

.gitignore

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Windows image file caches
2+
Thumbs.db
3+
ehthumbs.db
4+
5+
# Folder config file
6+
Desktop.ini
7+
8+
# Recycle Bin used on file shares
9+
$RECYCLE.BIN/
10+
11+
# Windows Installer files
12+
*.cab
13+
*.msi
14+
*.msm
15+
*.msp
16+
17+
# Windows shortcuts
18+
*.lnk
19+
20+
# =========================
21+
# Operating System Files
22+
# =========================
23+
24+
# OSX
25+
# =========================
26+
27+
.DS_Store
28+
.AppleDouble
29+
.LSOverride
30+
31+
# Thumbnails
32+
._*
33+
34+
# Files that might appear on external disk
35+
.Spotlight-V100
36+
.Trashes
37+
38+
# Directories potentially created on remote AFP share
39+
.AppleDB
40+
.AppleDesktop
41+
Network Trash Folder
42+
Temporary Items
43+
.apdisk

Dockerfile

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
FROM lsiobase/xenial
2+
MAINTAINER sparklyballs
3+
4+
# environment settings
5+
ARG DEBIAN_FRONTEND="noninteractive"
6+
ENV XDG_CONFIG_HOME="/config/xdg"
7+
8+
# set version label
9+
ARG BUILD_DATE
10+
ARG VERSION
11+
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
12+
13+
# install packages
14+
RUN \
15+
apt-get update && \
16+
apt-get install -y \
17+
libcurl3 \
18+
libmono-cil-dev && \
19+
20+
# install radarr
21+
mkdir -p \
22+
/app/radarr && \
23+
curl -o \
24+
/tmp/radar.tar.gz -L \
25+
https://github.com/galli-leo/Radarr/releases/download/v0.2.0.45/Radarr.develop.0.2.0.45.linux.tar.gz && \
26+
tar xf \
27+
/tmp/radar.tar.gz -C \
28+
/app/radarr --strip-components=1 && \
29+
30+
# clean up
31+
rm -rf \
32+
/tmp/* \
33+
/var/lib/apt/lists/* \
34+
/var/tmp/*
35+
36+
# add local files
37+
COPY /root /
38+
39+
# ports and volumes
40+
EXPOSE 7878
41+
VOLUME /config /downloads /movies

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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+
6+
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
7+
8+
## This is a Container in active development by the [LinuxServer.io][linuxserverurl] team and is not recommended for use by the general public.
9+
10+
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.
11+
12+
* [forum.linuxserver.io][forumurl]
13+
* [IRC][ircurl] on freenode at `#linuxserver.io`
14+
* [Podcast][podcasturl] covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation!
15+

READMETEMPLATE.md

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
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+
6+
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
7+
8+
The [LinuxServer.io][linuxserverurl] team brings you another container release featuring easy user mapping and community support. Find us for support at:
9+
* [forum.linuxserver.io][forumurl]
10+
* [IRC][ircurl] on freenode at `#linuxserver.io`
11+
* [Podcast][podcasturl] covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation!
12+
13+
# linuxserver/radarr
14+
[![](https://images.microbadger.com/badges/image/linuxserver/radarr.svg)](http://microbadger.com/images/linuxserver/radarr "Get your own image badge on microbadger.com")[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/radarr.svg)][hub][![Docker Stars](https://img.shields.io/docker/stars/linuxserver/radarr.svg)][hub][![Build Status](http://jenkins.linuxserver.io:8080/buildStatus/icon?job=Dockers/LinuxServer.io-hub-built/linuxserver-radarr)](http://jenkins.linuxserver.io:8080/job/Dockers/job/LinuxServer.io-hub-built/job/linuxserver-radarr/)
15+
[hub]: https://hub.docker.com/r/linuxserver/radarr/
16+
17+
A fork of Sonarr which aims to turn it into something like Couchpotato.
18+
19+
[![radarr]()][radarrurl]
20+
[radarrurl]: https://github.com/Radarr/Radarr
21+
22+
## Usage
23+
24+
```
25+
docker create \
26+
--name=radarr \
27+
-v <path to data>:/config \
28+
-v <path to data>:/downloads \
29+
-v <path to data>:/movies \
30+
-e PGID=<gid> -e PUID=<uid> \
31+
-e TZ=<timezone> \
32+
-p 7878:7878 \
33+
linuxserver/radarr
34+
```
35+
36+
## Parameters
37+
38+
`The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side.
39+
For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container.
40+
So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080
41+
http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.`
42+
43+
44+
* `-p 7878` - the port(s)
45+
* `-v /config` - Radarr Application Data
46+
* `-v /downloads` - Downloads Folder
47+
* `-v /movies` - Movie Share
48+
* `-e PGID` for for GroupID - see below for explanation
49+
* `-e PUID` for for UserID - see below for explanation
50+
* `-e TZ` for timezone information, eg Europe/London
51+
52+
It is based on alpine linux with s6 overlay, for shell access whilst the container is running do `docker exec -it radarr /bin/bash`.
53+
54+
### User / Group Identifiers
55+
56+
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" ™.
57+
58+
In this instance `PUID=1001` and `PGID=1001`. To find yours use `id user` as below:
59+
60+
```
61+
$ id <dockeruser>
62+
uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)
63+
```
64+
65+
## Setting up the application
66+
67+
Access the webui at `<your-ip>:7878`, for more information check out [Radarr][radarrurl].
68+
69+
## Info
70+
71+
* Shell access whilst the container is running: `docker exec -it radarr /bin/bash`
72+
* To monitor the logs of the container in realtime: `docker logs -f radarr`
73+
74+
* container version number
75+
76+
`docker inspect -f '{{ index .Config.Labels "build_version" }}' radarr`
77+
78+
* image version number
79+
80+
`docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/radarr`
81+
82+
## Versions
83+
84+
+ **dd.MM.yy:** Initial Release.

root/etc/cont-init.d/30-config

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/with-contenv bash
2+
3+
# permissions
4+
chown -R abc:abc \
5+
/config \
6+
/app
7+

root/etc/services.d/radarr/run

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/with-contenv bash
2+
3+
cd /app/radarr || exit
4+
5+
exec \
6+
s6-setuidgid abc mono --debug Radarr.exe \
7+
-nobrowser -data=/config

0 commit comments

Comments
 (0)