mirror of
https://github.com/crazy-max/diun.git
synced 2025-01-12 11:38:11 +00:00
2.9 KiB
2.9 KiB
Upgrade notes
2.x > 3.x
File provider
static
provider has been renamed file
. This now allows the static configuration to be declared in one or more files to avoid overloading the current configuration file and also dynamic updating.
2.x
providers:
static:
- name: docker.io/crazymax/diun
watch_repo: true
max_tags: 10
3.x
providers:
file:
# Watch images from filename /path/to/config.yml
filename: /path/to/config.yml
# OR watch images from directory /path/to/config/folder
directory: /path/to/config/folder
# /path/to/config.yml
- name: docker.io/crazymax/diun
watch_repo: true
max_tags: 10
Allow only one Docker and Swarm provider
Now you can declare only one Docker and/or Swarm provider.
2.x
providers:
docker:
mydocker:
watch_stopped: true
providers:
swarm:
myswarm:
watch_by_default: true
3.x
providers:
docker:
watch_stopped: true
swarm:
watch_by_default: true
Remove enable
setting for notifiers
The enable
entry has been removed for notifiers. If you don't want a notifier to be enabled, you must now remove its configuration.
2.x
notif:
amqp:
enable: false
host: localhost
port: 5672
gotify:
enable: true
endpoint: http://gotify.foo.com
token: Token123456
priority: 1
timeout: 10
3.x
notif:
gotify:
endpoint: http://gotify.foo.com
token: Token123456
priority: 1
timeout: 10
1.x > 2.x
image
field has been moved to providers.static
in configuration file:
1.x
image:
- name: docker.io/crazymax/diun
watch_repo: true
max_tags: 10
2.x
providers:
static:
- name: docker.io/crazymax/diun
watch_repo: true
max_tags: 10
See providers configuration for more info.
0.x > 1.x
Some fields in configuration file has been changed:
registries
renamedregopts
items
renamedimage
items[].image
renamedimage[].name
items[].registry_id
renamedimage[].regopts_id
watch.os
andwatch.arch
moved toimage[].os
andimage[].arch
0.x
watch:
os: linux
arch: amd64
registries:
someregistryoptions:
username: foo
password: bar
timeout: 20
items:
- image: docker.io/crazymax/nextcloud:latest
registry_id: someregistryoptions
1.x
regopts:
someregistryoptions:
username: foo
password: bar
timeout: 20
image:
- name: docker.io/crazymax/nextcloud:latest
regopts_id: someregistryoptions
os: linux
arch: amd64