Skip to content

Commit c86c5ce

Browse files
committed
chore: enable ssh agent forwarding
1 parent 73f17e5 commit c86c5ce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ services:
55
image: marionebl/commitlint-cubicle
66
ports:
77
- "8443:8443"
8+
environment:
9+
- SSH_AUTH_SOCK=/.ssh-agent/socket
10+
- SSH_AUTH_PROXY_SOCK=/.ssh-agent/proxy-socket
811
volumes:
912
- .:/root/repo
13+
- $SSH_AUTH_SOCK:/.ssh-agent/socket
14+
- $SSH_AUTH_PROXY_SOCK:/.ssh-agent/proxy-socket
1015
command: code-server --no-auth /root/repo
16+

0 commit comments

Comments
 (0)