Add gitconfig to devcontainer

This commit is contained in:
Matthias 2020-09-20 12:36:47 +00:00
parent 0a7b6f73c9
commit 4355f36cd6

View File

@ -6,7 +6,11 @@ services:
context: ..
dockerfile: ".devcontainer/Dockerfile"
volumes:
# Allow git usage within container
- "/home/${USER}/.ssh:/home/ftuser/.ssh:ro"
- "/home/${USER}/.gitconfig:/home/ftuser/.gitconfig:ro"
- ..:/freqtrade:cached
# Persist bash-history
- freqtrade-vscode-server:/home/ftuser/.vscode-server
- freqtrade-bashhistory:/home/ftuser/commandhistory
# Expose API port