support more modular container reverse proxy config and host networking

This commit is contained in:
uumas
2022-05-12 00:47:25 +03:00
parent 12fa8d5d81
commit 49ddfcc0a9
3 changed files with 15 additions and 10 deletions

View File

@@ -5,5 +5,6 @@ dependencies:
- role: uumas.general.reverse_proxy
vhost_id: "{{ docker_service }}"
vhost_domains: "{{ docker_vhost_domains[docker_service] }}"
proxy_target: http://127.0.0.1:{{ ports[docker_service].http }}
proxy_target_protocol: "{{ docker_proxy_target_protocol | default('http') }}"
proxy_target_port: "{{ ports[docker_service][proxy_target_protocol] }}"
when: reverse_proxy_type != 'none' and reverse_proxy_type != 'traefik'