Latest Watchtower fork?

a year ago by blazeknave to c/selfhosted

A process for automating Docker container base image updates. - GitHub - beatkind/watchtower: A process for automating Docker container base image updates.
load all comments
roofuskit 6 points a year ago

Those of you self hosters who use watchtower, what's your use case?

path: 0 15634129, hotness: undefined, score: 6, children: 17
morethanevil 9 points a year ago

I only let me notify about updates. I don't want autoupdates, because some projects may have breaking changes (looking at you Immich 😁)

I get a message from watchtower over Gotify and then I can read the changelog

path: 0 15634129 15634233, hotness: undefined, score: 9, children: 8
blazeknave 2 points a year ago

I've been thinking about this. Can you do that with watchtower? Don't need diem or anything?

path: 0 15634129 15634233 15634971, hotness: undefined, score: 2, children: 5
morethanevil 3 points a year ago

It is very easy. Here is my compose:

services:
  watchtower:
    image: containrrr/watchtower
    container_name: watchtower
    restart: always
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /etc/localtime:/etc/localtime:ro
    command: --interval 10800
    logging:
      driver: local
    environment:
          WATCHTOWER_NOTIFICATION_URL: gotify://
          WATCHTOWER_NOTIFICATIONS_HOSTNAME: Fancy name
          WATCHTOWER_MONITOR_ONLY: true
          WATCHTOWER_WARN_ON_HEAD_FAILURE: never

Every 3 hours it will check for updates, send a message via Gotify and pull the new images. It will not restart the containers with the new images.

path: 0 15634129 15634233 15634971 15635526, hotness: undefined, score: 3, children: 4
roofuskit 2 points a year ago

Is it possible to have it auto update say one container and notify the rest?

path: 0 15634129 15634233 15634971 15635526 15643258, hotness: undefined, score: 2, children: 2
VeryNiiiice 3 points a year ago

Yes. There is a label you would need to apply to all of your containers to specify whether or not to update: com.centurylinklabs.watchtower.monitor-only=true

path: 0 15634129 15634233 15634971 15635526 15643258 15720531, hotness: undefined, score: 3, children: 0
selfhosted
selfhosted

@lemmy.world

login for more options
61559
6650
5623

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

go to feed...