stable/.devcontainer/devcontainer.json

42 lines
1.4 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"
],
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/freqtrade,type=bind,consistency=cached",
2021-07-15 14:32:23 +00:00
// 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
2022-11-10 18:56:19 +00:00
"onCreateCommand": "pip install --user -e .",
"postCreateCommand": "freqtrade create-userdir --userdir user_data/",
2022-11-10 08:42:47 +00:00
"workspaceFolder": "/workspaces/freqtrade",
2020-09-20 12:16:36 +00:00
"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",
2022-11-09 20:06:14 +00:00
"vscode-icons-team.vscode-icons",
2020-09-20 12:16:36 +00:00
],
2020-09-20 11:40:16 +00:00
}