Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
/ docker-watcher3 Public archive

Yet Another Watcher3's docker image πŸ‘€

Notifications You must be signed in to change notification settings

jee-r/docker-watcher3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

33 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

docker-watcher3

Docker Image Size (latest by date) Docker Pulls DockerHub ghcr.io

A docker image for watcher3 watcher's logo

Supported tags

Tags Size Platforms Build
latest, master amd64 GitHub Workflow Status (branch)Β 
dev amd64 GitHub Workflow Status (branch)

What is Watcher3 ?

From watcher3 repo:

Watcher is an automated movie NZB & Torrent searcher and snatcher. You can add a list of wanted movies and Watcher will automatically send the NZB or Torrent to your download client. Watcher also has basic post-processing capabilities such as renaming and moving.

How to use these images

All the lines commented in the examples below should be adapted to your environment.

Note: --user $(id -u):$(id -g) should work out of the box on linux systems. If your docker host run on windows or if you want specify an other user id and group id just replace with the appropriates values.

With Docker

docker run \
    --detach \
    --interactive \
    --name watcher3 \
    --user $(id -u):$(id -g) \
    #--publish 9090:9090 \
    --env UMASK_SET=022 \
    --env TZ=Europe/Paris \
    --volume /etc/localtime:/etc/localtime:ro \
    #--volume ./config:/config \
    #--volume ./app:/app \
    #--volume ./torrents:/torrents \
    #--volume ./usenet:/usenet \
    #--volume ./Media:/Media \
    ghcr.io/jee-r/watcher3:latest

With Docker Compose

docker-compose can help with defining the docker run config in a repeatable way rather than ensuring you always pass the same CLI arguments.

Here's an example docker-compose.yml config:

version: '3'

services:
  watcher3:
    image: ghcr.io/jee-r/watcher3:latest
    container_name: watcher3
    restart: unless-stopped
    user: $(id -u):$(id -g)
    #ports:
    #  - 9090:9090
    #environment:
      #- UMASK_SET=022
      #- TZ=Europe/Paris
    volumes:
      #- ./config:/config
      #- ./torrents:/torrents
      #- ./usenet:/usenet
      #- ./Media:/Media
      - /etc/localtime:/etc/localtime:ro

Volume mounts

Due to the ephemeral nature of Docker containers these images provide a number of optional volume mounts to persist data outside of the container:

  • /config: Contain watcher's config, db, posters and logs.
  • /app: Contain watcher3, usefull if you want roll a specific version (not required)
  • /torrents and /usenet: should contain watch directories, incomming .. etc for torrents and usenet.
  • /Media: Final directory where files are stored after post-process is done.
  • etc/localtime: This directory is for have the same time as host inthe container.

You should create directory before run the container otherwise directories are created by the docker deamon and owned by the root user

Environment variables

  • TZ: To change the timezone of the container set the TZ environment variable. The full list of available options can be found on Wikipedia.
  • UMASK: set permission of files created by the container process. More info on ArchLinux Wiki ArchLinux Wiki.

Ports

  • 9090: Watcher3 default port can be changed in /config/watcher.conf file.

License

This project is under the GNU Generic Public License v3 to allow free use while ensuring it stays open.