Update devcontainer settings
This commit is contained in:
parent
8ff7ce8b17
commit
7ead4f9fa3
@ -1,38 +1,49 @@
|
|||||||
{
|
{
|
||||||
"name": "freqtrade Develop",
|
"name": "freqtrade Develop",
|
||||||
|
|
||||||
// Update the 'dockerComposeFile' list if you have more compose files or use different names.
|
// Update the 'dockerComposeFile' list if you have more compose files or use different names.
|
||||||
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.
|
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.
|
||||||
"dockerComposeFile": [
|
"dockerComposeFile": [
|
||||||
"docker-compose.yml"
|
"docker-compose.yml"
|
||||||
// "docker-compose.vscode.yml"
|
// "docker-compose.vscode.yml"
|
||||||
],
|
],
|
||||||
|
|
||||||
"service": "freqtrade_develop",
|
"service": "ft_vscode",
|
||||||
|
|
||||||
// The optional 'workspaceFolder' property is the path VS Code should open by default when
|
// 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
|
// connected. This is typically a file mount in .devcontainer/docker-compose.yml
|
||||||
"workspaceFolder": "/freqtrade/",
|
"workspaceFolder": "/freqtrade/",
|
||||||
|
|
||||||
"settings": {
|
"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.
|
// 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.
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
// "forwardPorts": [],
|
// "forwardPorts": [],
|
||||||
|
|
||||||
// Uncomment the next line if you want start specific services in your Docker Compose config.
|
// Uncomment the next line if you want start specific services in your Docker Compose config.
|
||||||
// "runServices": [],
|
// "runServices": [],
|
||||||
|
|
||||||
// Uncomment the next line if you want to keep your containers running after VS Code shuts down.
|
// Uncomment the next line if you want to keep your containers running after VS Code shuts down.
|
||||||
// "shutdownAction": "none",
|
// "shutdownAction": "none",
|
||||||
|
|
||||||
// Uncomment the next line to run commands after the container is created - for example installing curl.
|
// Uncomment the next line to run commands after the container is created - for example installing curl.
|
||||||
// "postCreateCommand": "sudo apt-get update && apt-get install -y git",
|
// "postCreateCommand": "sudo apt-get update && apt-get install -y git",
|
||||||
|
|
||||||
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
|
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
|
||||||
"remoteUser": "ftuser"
|
"remoteUser": "ftuser"
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,17 @@
|
|||||||
---
|
---
|
||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
freqtrade_develop:
|
ft_vscode:
|
||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
dockerfile: "Dockerfile.develop"
|
dockerfile: "Dockerfile.develop"
|
||||||
volumes:
|
volumes:
|
||||||
- ..:/freqtrade:cached
|
- ..:/freqtrade:cached
|
||||||
|
- freqtrade-vscode-server:/home/ftuser/.vscode-server
|
||||||
|
- freqtrade-bashhistory:/home/ftuser/commandhistory
|
||||||
|
|
||||||
command: /bin/sh -c "while sleep 1000; do :; done"
|
command: /bin/sh -c "while sleep 1000; do :; done"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
freqtrade-vscode-server:
|
||||||
|
freqtrade-bashhistory:
|
||||||
|
Loading…
Reference in New Issue
Block a user