Skip to content

Commit

Permalink
chore: enable ssh agent forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
marionebl committed May 6, 2019
1 parent 73f17e5 commit c86c5ce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c86c5ce

Please sign in to comment.