Skip to content

Commit 0ae079f

Browse files
committed
add ssh-agent mount
* add ssh mount for more ease of local dev
1 parent 7b8b37d commit 0ae079f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/docker-compose/ansible/roles/sources/templates/docker-compose.yml.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ services:
3030
hostname: awx-{{ container_postfix }}
3131
command: launch_awx.sh supervisord --pidfile=/tmp/supervisor_pid ${SUPERVISOR_ARGS:--n}
3232
environment:
33+
SSH_AUTH_SOCK: /ssh-agent
3334
OS: "{{ os_info.stdout }}"
3435
SDB_HOST: 0.0.0.0
3536
SDB_PORT: {{ awx_sdb_port_start }}
@@ -53,6 +54,9 @@ services:
5354
- service-mesh
5455
working_dir: "/awx_devel"
5556
volumes:
57+
- type: bind
58+
source: /ssh-agent
59+
target: /ssh-agent
5660
{% if editable_dependencies | length > 0 %}
5761
- "var_lib_awx:/var/lib/awx"
5862
{% for editable_dependency in editable_dependencies %}

0 commit comments

Comments
 (0)