mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
Merge pull request #1528 from jffz/devel
Fix project_data_dir templating for local_docker install
This commit is contained in:
commit
8a9397a997
@ -15,6 +15,10 @@ services:
|
||||
hostname: awxweb
|
||||
user: root
|
||||
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) -%}
|
||||
{% set awx_container_search_domains_list = awx_container_search_domains.split(',') %}
|
||||
dns_search:
|
||||
@ -65,6 +69,10 @@ services:
|
||||
hostname: awx
|
||||
user: root
|
||||
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) -%}
|
||||
{% set awx_container_search_domains_list = awx_container_search_domains.split(',') %}
|
||||
dns_search:
|
||||
|
Loading…
Reference in New Issue
Block a user