[podman] Add diun

This commit is contained in:
Viyurz 2024-10-01 11:25:46 +02:00
parent b920366148
commit ef9c2c3cef
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8
3 changed files with 48 additions and 0 deletions

6
projects/diun/.env.mako Normal file
View file

@ -0,0 +1,6 @@
TZ=${env['timezone']}
DIUN_WATCH_SCHEDULE='0 */6 * * *'
DIUN_PROVIDERS_DOCKER=true
DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true
DIUN_PROVIDERS_FILE_FILENAME=/etc/diun/images.yml
DIUN_NOTIF_DISCORD_WEBHOOKURL='${secrets["diun_webhookurl"]}'

View file

@ -0,0 +1,15 @@
services:
diun:
container_name: diun
image: docker.io/crazymax/diun:4
network_mode: pasta
restart: always
command: serve
env_file: .env.rendered
volumes:
- ${env['socket']}:/var/run/docker.sock:ro
- ./images.yml:/etc/diun/images.yml:ro
- data:/data
volumes:
data:

27
projects/diun/images.yml Normal file
View file

@ -0,0 +1,27 @@
- name: quay.io/hedgedoc/hedgedoc
watch_repo: true
sort_tags: semver
max_tags: 1
include_tags:
- ^[\d\.]+-alpine$
- name: quay.io/keycloak/keycloak
watch_repo: true
sort_tags: semver
max_tags: 1
include_tags:
- ^\d+\.\d+$
- name: docker.io/stalwartlabs/mail-server
watch_repo: true
sort_tags: semver
max_tags: 1
include_tags:
- ^v
- name: docker.io/aaronleopold/stump
watch_repo: true
sort_tags: semver
max_tags: 1
include_tags:
- ^\d