feat(landingpage): Automatically update
This commit is contained in:
parent
fecf14a5bc
commit
9f3274dae7
2 changed files with 7 additions and 0 deletions
|
|
@ -5,5 +5,7 @@ landingpage_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
||||||
|
|
||||||
landingpage_use_https: true
|
landingpage_use_https: true
|
||||||
|
|
||||||
|
landingpage_autoupdate: true
|
||||||
|
|
||||||
# the subdomain link landingpage will be reachable under
|
# the subdomain link landingpage will be reachable under
|
||||||
subdomain_alias: www
|
subdomain_alias: www
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,11 @@ services:
|
||||||
entrypoint: sh -c "/docker-entrypoint.sh nginx -g 'daemon off;'"
|
entrypoint: sh -c "/docker-entrypoint.sh nginx -g 'daemon off;'"
|
||||||
networks:
|
networks:
|
||||||
- "{{ docker_swarm_public_network_name }}"
|
- "{{ docker_swarm_public_network_name }}"
|
||||||
|
{% if landingpage_autoupdate is defined and landingpage_autoupdate %}
|
||||||
|
deploy:
|
||||||
|
labels:
|
||||||
|
- shepherd.autoupdate=true
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
"{{ docker_swarm_public_network_name }}":
|
"{{ docker_swarm_public_network_name }}":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue