1
0
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:
Matthew Jones 2018-03-12 07:37:11 -07:00 committed by GitHub
commit 8a9397a997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: