Update devcontainer settings

This commit is contained in:
Matthias 2020-09-20 14:16:36 +02:00
parent 8ff7ce8b17
commit 7ead4f9fa3
2 changed files with 45 additions and 27 deletions

View File

@ -8,18 +8,29 @@
// "docker-compose.vscode.yml"
],
"service": "freqtrade_develop",
"service": "ft_vscode",
// The optional 'workspaceFolder' property is the path VS Code should open by default when
// connected. This is typically a file mount in .devcontainer/docker-compose.yml
"workspaceFolder": "/freqtrade/",
"settings": {
"terminal.integrated.shell.linux": null
"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": [],
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"davidanson.vscode-markdownlint",
"ms-azuretools.vscode-docker",
],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

View File

@ -1,10 +1,17 @@
---
version: '3'
services:
freqtrade_develop:
ft_vscode:
build:
context: ..
dockerfile: "Dockerfile.develop"
volumes:
- ..:/freqtrade:cached
- freqtrade-vscode-server:/home/ftuser/.vscode-server
- freqtrade-bashhistory:/home/ftuser/commandhistory
command: /bin/sh -c "while sleep 1000; do :; done"
volumes:
freqtrade-vscode-server:
freqtrade-bashhistory: