From c86c5ce971ca976d491cb5163ab870f7c1f42d45 Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Mon, 6 May 2019 23:23:28 +0000 Subject: [PATCH] chore: enable ssh agent forwarding --- docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index eaf8c2a710..20702c7c0e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,12 @@ services: image: marionebl/commitlint-cubicle ports: - "8443:8443" + environment: + - SSH_AUTH_SOCK=/.ssh-agent/socket + - SSH_AUTH_PROXY_SOCK=/.ssh-agent/proxy-socket volumes: - .:/root/repo + - $SSH_AUTH_SOCK:/.ssh-agent/socket + - $SSH_AUTH_PROXY_SOCK:/.ssh-agent/proxy-socket command: code-server --no-auth /root/repo +