Skip to content

Commit

Permalink
support git and local changes in dev containers freqtrade#7723
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim committed Nov 9, 2022
1 parent d3006f7 commit 037363f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@
"mounts": [
"source=freqtrade-bashhistory,target=/home/ftuser/commandhistory,type=volume"
],
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/freqtrade,type=bind,consistency=cached",
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "ftuser",

"postCreateCommand": "freqtrade create-userdir --userdir user_data/",
"postCreateCommand": "ln -s /freqtrade/.env /workspaces/freqtrade/.env && freqtrade create-userdir --userdir user_data/",

"workspaceFolder": "/freqtrade/",
"workspaceFolder": "/workspaces/freqtrade",

"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
Expand All @@ -35,5 +36,6 @@
"davidanson.vscode-markdownlint",
"ms-azuretools.vscode-docker",
"vscode-icons-team.vscode-icons",
"github.copilot",
],
}

0 comments on commit 037363f

Please sign in to comment.