freqtrade_origin/.devcontainer/devcontainer.json

45 lines
1.8 KiB
JSON
Raw Normal View History

2020-09-20 11:40:16 +00:00
{
2020-09-20 12:16:36 +00:00
"name": "freqtrade Develop",
2024-04-27 09:37:08 +00:00
"image": "ghcr.io/freqtrade/freqtrade-devcontainer:latest",
2021-07-15 14:32:23 +00:00
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
8080
2020-09-20 12:16:36 +00:00
],
"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",
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",
2023-06-05 19:13:52 +00:00
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"editor.insertSpaces": true,
"files.trimTrailingWhitespace": true,
"[markdown]": {
2024-05-13 17:36:34 +00:00
"files.trimTrailingWhitespace": false
},
"python.pythonPath": "/usr/local/bin/python",
2024-05-13 17:36:34 +00:00
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"editor.formatOnSave": true,
"editor.defaultFormatter": "charliermarsh.ruff"
}
2023-06-05 19:13:52 +00:00
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
2024-05-13 17:36:34 +00:00
"charliermarsh.ruff",
"davidanson.vscode-markdownlint",
"ms-azuretools.vscode-docker",
"vscode-icons-team.vscode-icons",
2024-04-27 07:11:35 +00:00
"github.vscode-github-actions",
],
}
2023-06-05 19:13:52 +00:00
}
2020-09-20 11:40:16 +00:00
}