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,8 +5,11 @@ searx_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
|||
|
||||
searx_use_https: true
|
||||
|
||||
searx_autoupdate: true
|
||||
|
||||
# the subdomain link searx will be reachable under
|
||||
subdomain_alias: search
|
||||
|
||||
# searx_authentication:
|
||||
# - username: mysearxusername
|
||||
# password: JDJhJDE0JFdjUnQ5WWllcU8wa01xS0JBS2dlMy5zMEhRTmxqTXdIZmdjcTN6ZGFwRjJlYUdoSHAwRUhL # mysearxpassword
|
||||
# - username: # mysearxusername
|
||||
# password: # mysearxpassword
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ services:
|
|||
start_period: 1m
|
||||
environment:
|
||||
- BIND_ADDRESS=0.0.0.0:8080
|
||||
{% if server_domain is not undefined and not none %}
|
||||
{% if server_domain is not undefined and not none %}
|
||||
- "BASE_URL={{ (searx_use_https == True) | ternary('https', 'http') }}://{{ (subdomain_alias is not undefined and not none) | ternary(subdomain_alias, stack_name) }}.{{server_domain}}"
|
||||
{% else %}
|
||||
- "BASE_URL={{ (searx_use_https == True) | ternary('https', 'http') }}://localhost/{{ (subdomain_alias is not undefined and not none) | ternary(subdomain_alias, stack_name) }}"
|
||||
|
|
@ -21,6 +21,11 @@ services:
|
|||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- data:/etc/searx:rw
|
||||
{% if searx_autoupdate is defined and searx_autoupdate %}
|
||||
deploy:
|
||||
labels:
|
||||
- shepherd.autoupdate=true
|
||||
{% endif %}
|
||||
|
||||
volumes:
|
||||
data:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue