summaryrefslogtreecommitdiffstats
path: root/installer/roles
diff options
context:
space:
mode:
authorsoftwarefactory-project-zuul[bot] <33884098+softwarefactory-project-zuul[bot]@users.noreply.github.com>2019-10-28 00:42:35 +0100
committerGitHub <noreply@github.com>2019-10-28 00:42:35 +0100
commit5ab09686c908a50123eb9a325749eab85c09086b (patch)
tree847637050dbc3bb66394116618c34dcbaaa37190 /installer/roles
parentMerge pull request #5123 from r-daneel/devel (diff)
parentAdded custom_venv_dir to local docker install, (diff)
downloadawx-5ab09686c908a50123eb9a325749eab85c09086b.tar.xz
awx-5ab09686c908a50123eb9a325749eab85c09086b.zip
Merge pull request #5043 from EStork09/devel
Added custom_venv_dir to local docker install, Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
Diffstat (limited to 'installer/roles')
-rw-r--r--installer/roles/local_docker/templates/docker-compose.yml.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/installer/roles/local_docker/templates/docker-compose.yml.j2 b/installer/roles/local_docker/templates/docker-compose.yml.j2
index e3956b7374..e53295c58c 100644
--- a/installer/roles/local_docker/templates/docker-compose.yml.j2
+++ b/installer/roles/local_docker/templates/docker-compose.yml.j2
@@ -26,6 +26,9 @@ services:
{% if project_data_dir is defined %}
- "{{ project_data_dir +':/var/lib/awx/projects:rw' }}"
{% endif %}
+ {% if custom_venv_dir is defined %}
+ - "{{ custom_venv_dir +':'+ custom_venv_dir +':rw' }}"
+ {% endif %}
{% if ca_trust_dir is defined %}
- "{{ ca_trust_dir +':/etc/pki/ca-trust/source/anchors:ro' }}"
{% endif %}
@@ -75,6 +78,9 @@ services:
{% if project_data_dir is defined %}
- "{{ project_data_dir +':/var/lib/awx/projects:rw' }}"
{% endif %}
+ {% if custom_venv_dir is defined %}
+ - "{{ custom_venv_dir +':'+ custom_venv_dir +':rw' }}"
+ {% endif %}
{% if ca_trust_dir is defined %}
- "{{ ca_trust_dir +':/etc/pki/ca-trust/source/anchors:ro' }}"
{% endif %}