mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
Remove compose file for devcontainer
This commit is contained in:
parent
708d5691b0
commit
2928ee22ce
|
@ -1,11 +1,20 @@
|
||||||
{
|
{
|
||||||
"name": "freqtrade Develop",
|
"name": "freqtrade Develop",
|
||||||
|
"build": {
|
||||||
"dockerComposeFile": [
|
"dockerfile": "Dockerfile",
|
||||||
"docker-compose.yml"
|
"context": ".."
|
||||||
|
},
|
||||||
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
|
"forwardPorts": [
|
||||||
|
8080
|
||||||
],
|
],
|
||||||
|
"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",
|
||||||
|
|
||||||
"service": "ft_vscode",
|
"postCreateCommand": "freqtrade create-userdir --userdir user_data/",
|
||||||
|
|
||||||
"workspaceFolder": "/freqtrade/",
|
"workspaceFolder": "/freqtrade/",
|
||||||
|
|
||||||
|
@ -25,20 +34,6 @@
|
||||||
"ms-python.vscode-pylance",
|
"ms-python.vscode-pylance",
|
||||||
"davidanson.vscode-markdownlint",
|
"davidanson.vscode-markdownlint",
|
||||||
"ms-azuretools.vscode-docker",
|
"ms-azuretools.vscode-docker",
|
||||||
|
"vscode-icons-team.vscode-icons",
|
||||||
],
|
],
|
||||||
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
||||||
// "forwardPorts": [],
|
|
||||||
|
|
||||||
// Uncomment the next line if you want start specific services in your Docker Compose config.
|
|
||||||
// "runServices": [],
|
|
||||||
|
|
||||||
// Uncomment the next line if you want to keep your containers running after VS Code shuts down.
|
|
||||||
// "shutdownAction": "none",
|
|
||||||
|
|
||||||
// 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",
|
|
||||||
|
|
||||||
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
|
|
||||||
"remoteUser": "ftuser"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
---
|
|
||||||
version: '3'
|
|
||||||
services:
|
|
||||||
ft_vscode:
|
|
||||||
build:
|
|
||||||
context: ..
|
|
||||||
dockerfile: ".devcontainer/Dockerfile"
|
|
||||||
volumes:
|
|
||||||
# Allow git usage within container
|
|
||||||
- "${HOME}/.ssh:/home/ftuser/.ssh:ro"
|
|
||||||
- "${HOME}/.gitconfig:/home/ftuser/.gitconfig:ro"
|
|
||||||
- ..:/freqtrade:cached
|
|
||||||
# Persist bash-history
|
|
||||||
- freqtrade-vscode-server:/home/ftuser/.vscode-server
|
|
||||||
- freqtrade-bashhistory:/home/ftuser/commandhistory
|
|
||||||
# Expose API port
|
|
||||||
ports:
|
|
||||||
- "127.0.0.1:8080:8080"
|
|
||||||
command: /bin/sh -c "while sleep 1000; do :; done"
|
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
freqtrade-vscode-server:
|
|
||||||
freqtrade-bashhistory:
|
|
Loading…
Reference in New Issue
Block a user