Skip to content

shemanaev/updtr

Repository files navigation

Updtr

Drop-in replacement of Watchtower for manual updating.

Why?

I prefer to review pending updates once in a while and read changelog before, so I would be shure nothing will be broken or, at least, will know how to fix it.

sample.mp4

Quick Start

Run the updtr container with the following command:

docker run -d --name updtr -v /var/run/docker.sock:/var/run/docker.sock shemanaev/updtr

or with docker-compose:

services:
  updtr:
    image: shemanaev/updtr
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /etc/localtime:/etc/localtime:ro
    ports:
      - 8080:8080
    restart: unless-stopped

Configuration

Updtr is built on top of Watchtower and can be configured via environment variables.

Supported Env Variables

Not Supported

Doesn't make sense in Updtr

Mappings

It describes the way to find changelog by image name. Feel free to propose new mappings into this file.

# version of mappings file
version: 1
images:
  -
    # array of image names
    # can be with tag or without
    # tagged names has higher priority
    names: [shemanaev/updtr]
    # url to changelog
    url: https://github.com/shemanaev/updtr
    # possilble values:
    # Plaintext
    # Markdown
    # Asciidoc
    # Html
    # Github - notes of latest release, url must point to github repo
    type: Github

Additional mappings can be loaded from file: /data/mapping.yml

docker run -d --name updtr -v ${PWD}/mapping.yml:/data/mapping.yml -v /var/run/docker.sock:/var/run/docker.sock shemanaev/updtr

It takes higher priority than built-in.