Add more stable reverse proxy updating

This commit is contained in:
Marty Oehme 2021-07-30 11:13:22 +02:00
parent 95832941c0
commit 03a0b0ce00
Signed by: Marty
GPG key ID: B7538B8F50A1C800
5 changed files with 71 additions and 30 deletions

View file

@ -1,9 +1,6 @@
---
whoami_stack:
- name: whoami
compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
whoami_upstream: >-
'{ "@id": "whoami_upstream", "handle": [{ "handler": "reverse_proxy", "upstreams": [{ "dial": "whoami_app:80"}]}] }'
stack:
name: whoami
compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"