forked from mozilla/pontoon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Git-specific auth and use local keys for Docker.
Removes the git-specific username/password authentication and instead assumes that SSH keys will already be set up for git/svn/hg to use. Modifies the docker container to mount the user's SSH keys into the container so that the VCS sync management commands run using the user's local keys. This isn't a significant change in security mainly because previously the user's local keys were being used anyway since the app was run locally instead of being run in a container.
- Loading branch information
Michael Kelly
committed
May 28, 2015
1 parent
21673da
commit b315ac5
Showing
3 changed files
with
2 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ web: | |
- "8000:8000" | ||
volumes: | ||
- .:/pontoon | ||
- ~/.ssh:/root/.ssh:ro | ||
links: | ||
- db | ||
dns: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters