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,5 +5,7 @@ wallabag_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
|||
|
||||
wallabag_use_https: true
|
||||
|
||||
wallabag_autoupdate: true
|
||||
|
||||
# the subdomain link wallabag will be reachable under
|
||||
subdomain_alias: read
|
||||
|
|
|
|||
|
|
@ -15,11 +15,16 @@ services:
|
|||
- data:/var/www/wallabag/data
|
||||
environment:
|
||||
- SYMFONY__ENV__FOSUSER_REGISTRATION=false
|
||||
{% if server_domain is not undefined and not none %}
|
||||
{% if server_domain is not undefined and not none %}
|
||||
- "SYMFONY__ENV__DOMAIN_NAME={{ (wallabag_use_https == True) | ternary('https', 'http') }}://{{ (subdomain_alias is not undefined and not none) | ternary(subdomain_alias, stack_name) }}.{{server_domain}}"
|
||||
{% else %}
|
||||
- SYMFONY__ENV__DOMAIN_NAME={{ (wallabag_use_https == True) | ternary('https', 'http') }}://localhost
|
||||
{% endif %}
|
||||
{% if wallabag_autoupdate is defined and wallabag_autoupdate %}
|
||||
deploy:
|
||||
labels:
|
||||
- shepherd.autoupdate=true
|
||||
{% endif %}
|
||||
|
||||
redis:
|
||||
image: redis:alpine
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue