mirror of
https://github.com/ansible/awx.git
synced 2026-02-18 03:30:02 -03:30
Add local_docker facility for bind-mounting ca-trust
This implements one possible solution for #411, but does not solve it for Kubernetes or Openshift installations. # Conflicts: # installer/inventory
This commit is contained in:
committed by
Shane McDonald
parent
4fa0d2406a
commit
db8df5f724
@@ -79,7 +79,11 @@
|
||||
state: started
|
||||
restart_policy: unless-stopped
|
||||
image: "{{ awx_web_docker_actual_image }}"
|
||||
volumes: "{{ project_data_dir + ':/var/lib/awx/projects:rw' if project_data_dir is defined else omit }}"
|
||||
volumes: >
|
||||
{{
|
||||
[project_data_dir + ':/var/lib/awx/projects:rw' if project_data_dir is defined else []
|
||||
+ [ca_trust_dir + ':/etc/pki/ca-trust:ro'] if ca_trust_dir is defined else []
|
||||
}}
|
||||
user: root
|
||||
ports:
|
||||
- "{{ host_port }}:8052"
|
||||
@@ -113,7 +117,11 @@
|
||||
state: started
|
||||
restart_policy: unless-stopped
|
||||
image: "{{ awx_task_docker_actual_image }}"
|
||||
volumes: "{{ project_data_dir + ':/var/lib/awx/projects:rw' if project_data_dir is defined else omit }}"
|
||||
volumes: >
|
||||
{{
|
||||
[project_data_dir + ':/var/lib/awx/projects:rw' if project_data_dir is defined else []
|
||||
+ [ca_trust_dir + ':/etc/pki/ca-trust:ro'] if ca_trust_dir is defined else []
|
||||
}}
|
||||
links: "{{ awx_task_container_links|list }}"
|
||||
user: root
|
||||
hostname: awx
|
||||
|
||||
Reference in New Issue
Block a user