diff options
Diffstat (limited to 'installer/roles/local_docker/templates/docker-compose.yml.j2')
-rw-r--r-- | installer/roles/local_docker/templates/docker-compose.yml.j2 | 6 |
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 %} |