A Docker container for SonarrAnnounced
511
A Docker container for the SonarrAnnounced project from l3uddz.
Python script to notify sonarr of tracker announcements from IRC announce channels.
Create the container:
docker create \
--name=sonarrannounced \
-v <path to data>:/config \
-e PGID=<gid> -e PUID=<uid> \
-e TZ=<timezone> \
-p 3467:3467 \
tronyx/sonarrannounced
Then start it:
docker start sonarrannounced
Docker-Compose:
sonarrannounced:
container_name: sonarrannounced
image: tronyx/sonarrannounced
restart: on-failure
environment:
- "TZ=America/New_York"
volumes:
- "<path to data>:/config"
ports:
- "3467:3467"
<appData>/config directory.settings.cfg file with the required information for your Sonarr installation.settings.cfg before it will work.settings.cfg you will need to restart the container.<docker-host-ip>:3467The 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. Browsing to http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.
-p 3467 - the port(s)-v /config - sonarrannounced Application Data-e PGID for for GroupID - see below for explanation-e PUID for for UserID - see below for explanation-e TZ for timezone information, eg Europe/LondonIt is based on alpine-linux with S6 overlay, for shell access whilst the container is running do docker exec -it sonarrannounced /bin/bash.
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" ™.
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)
docker logs -f sonarrannounced.Content type
Image
Digest
Size
60.3 MB
Last updated
over 7 years ago
docker pull tronyx/sonarrannounced