updtr

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 3 Imported by: 0

README

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.

https://user-images.githubusercontent.com/1058537/193275951-29149586-00b2-45cc-a6f2-64ea4424e1ab.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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL