feat(roles): Add auto updating to some roles
Miniflux, searx, shaarli and wallabag will be automatically updated by shepherd.
This commit is contained in:
parent
9f3274dae7
commit
83613f6d86
8 changed files with 33 additions and 4 deletions
|
|
@ -5,6 +5,8 @@ shaarli_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
|||
|
||||
shaarli_use_https: true
|
||||
|
||||
shaarli_autoupdate: true
|
||||
|
||||
# the subdomain link shaarli will be reachable under
|
||||
subdomain_alias: links
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,11 @@ services:
|
|||
volumes:
|
||||
- data:/var/www/shaarli/data
|
||||
- cache:/var/www/shaarli/cache
|
||||
{% if shaarli_autoupdate is defined and shaarli_autoupdate %}
|
||||
deploy:
|
||||
labels:
|
||||
- shepherd.autoupdate=true
|
||||
{% endif %}
|
||||
|
||||
{% if backup_enable is not undefined and not false and shaarli_backup_enable is not undefined and not false %}
|
||||
backup:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue