mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 09:27:36 -02:30
Merge pull request #3604 from athenahealth/complete-ssl-support
Update SSL support for docker-compose install Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
@@ -12,6 +12,9 @@ services:
|
||||
- postgres
|
||||
{% endif %}
|
||||
ports:
|
||||
{% if ssl_certificate is defined %}
|
||||
- "{{ host_port_ssl }}:8053"
|
||||
{% endif %}
|
||||
- "{{ host_port }}:8052"
|
||||
hostname: {{ awx_web_hostname }}
|
||||
user: root
|
||||
@@ -26,6 +29,9 @@ services:
|
||||
{% if ca_trust_dir is defined %}
|
||||
- "{{ ca_trust_dir +':/etc/pki/ca-trust/source/anchors:ro' }}"
|
||||
{% endif %}
|
||||
{% if ssl_certificate is defined %}
|
||||
- "{{ ssl_certificate +':/etc/nginx/awxweb.pem:ro' }}"
|
||||
{% endif %}
|
||||
{% if (awx_container_search_domains is defined) and (',' in awx_container_search_domains) %}
|
||||
{% set awx_container_search_domains_list = awx_container_search_domains.split(',') %}
|
||||
dns_search:
|
||||
@@ -72,6 +78,9 @@ services:
|
||||
{% if ca_trust_dir is defined %}
|
||||
- "{{ ca_trust_dir +':/etc/pki/ca-trust/source/anchors:ro' }}"
|
||||
{% endif %}
|
||||
{% if ssl_certificate is defined %}
|
||||
- "{{ ssl_certificate +':/etc/nginx/awxweb.pem:ro' }}"
|
||||
{% endif %}
|
||||
{% if (awx_container_search_domains is defined) and (',' in awx_container_search_domains) %}
|
||||
{% set awx_container_search_domains_list = awx_container_search_domains.split(',') %}
|
||||
dns_search:
|
||||
|
||||
Reference in New Issue
Block a user