mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 19:37:38 -02:30
Fix project_data_dir templating for local_docker install
This commit is contained in:
@@ -15,6 +15,10 @@ services:
|
|||||||
hostname: awxweb
|
hostname: awxweb
|
||||||
user: root
|
user: root
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
{% if project_data_dir is defined %}
|
||||||
|
volumes:
|
||||||
|
- "{{ project_data_dir +':/var/lib/awx/projects:rw' }}"
|
||||||
|
{% endif %}
|
||||||
{% if (awx_container_search_domains is defined) and (',' in awx_container_search_domains) -%}
|
{% if (awx_container_search_domains is defined) and (',' in awx_container_search_domains) -%}
|
||||||
{% set awx_container_search_domains_list = awx_container_search_domains.split(',') %}
|
{% set awx_container_search_domains_list = awx_container_search_domains.split(',') %}
|
||||||
dns_search:
|
dns_search:
|
||||||
@@ -65,6 +69,10 @@ services:
|
|||||||
hostname: awx
|
hostname: awx
|
||||||
user: root
|
user: root
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
{% if project_data_dir is defined %}
|
||||||
|
volumes:
|
||||||
|
- "{{ project_data_dir +':/var/lib/awx/projects:rw' }}"
|
||||||
|
{% endif %}
|
||||||
{% if (awx_container_search_domains is defined) and (',' in awx_container_search_domains) -%}
|
{% if (awx_container_search_domains is defined) and (',' in awx_container_search_domains) -%}
|
||||||
{% set awx_container_search_domains_list = awx_container_search_domains.split(',') %}
|
{% set awx_container_search_domains_list = awx_container_search_domains.split(',') %}
|
||||||
dns_search:
|
dns_search:
|
||||||
|
|||||||
Reference in New Issue
Block a user