feat(landingpage): Automatically update

This commit is contained in:
Marty Oehme 2025-03-07 18:35:04 +01:00
parent fecf14a5bc
commit 9f3274dae7
Signed by: Marty
GPG key ID: 4E535BC19C61886E
2 changed files with 7 additions and 0 deletions

View file

@ -5,5 +5,7 @@ landingpage_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
landingpage_use_https: true
landingpage_autoupdate: true
# the subdomain link landingpage will be reachable under
subdomain_alias: www

View file

@ -12,6 +12,11 @@ services:
entrypoint: sh -c "/docker-entrypoint.sh nginx -g 'daemon off;'"
networks:
- "{{ docker_swarm_public_network_name }}"
{% if landingpage_autoupdate is defined and landingpage_autoupdate %}
deploy:
labels:
- shepherd.autoupdate=true
{% endif %}
networks:
"{{ docker_swarm_public_network_name }}":