stable/.devcontainer/devcontainer.json

40 lines
1.2 KiB
JSON
Raw Permalink Normal View History

2020-09-20 11:40:16 +00:00
{
2020-09-20 12:16:36 +00:00
"name": "freqtrade Develop",
2021-07-15 14:32:23 +00:00
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
8080
2020-09-20 12:16:36 +00:00
],
2021-07-15 14:32:23 +00:00
"mounts": [
"source=freqtrade-bashhistory,target=/home/ftuser/commandhistory,type=volume"
],
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "ftuser",
2020-09-20 12:16:36 +00:00
2021-07-15 14:32:23 +00:00
"postCreateCommand": "freqtrade create-userdir --userdir user_data/",
2020-09-20 12:16:36 +00:00
"workspaceFolder": "/freqtrade/",
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"editor.insertSpaces": true,
"files.trimTrailingWhitespace": true,
"[markdown]": {
"files.trimTrailingWhitespace": false,
},
"python.pythonPath": "/usr/local/bin/python",
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"davidanson.vscode-markdownlint",
"ms-azuretools.vscode-docker",
2021-07-15 14:32:23 +00:00
"vscode-icons-team.vscode-icons",
2020-09-20 12:16:36 +00:00
],
2020-09-20 11:40:16 +00:00
}