2020-09-20 11:40:16 +00:00
|
|
|
---
|
|
|
|
version: '3'
|
|
|
|
services:
|
2020-09-20 12:16:36 +00:00
|
|
|
ft_vscode:
|
2020-09-20 11:40:16 +00:00
|
|
|
build:
|
|
|
|
context: ..
|
2020-09-20 12:35:08 +00:00
|
|
|
dockerfile: ".devcontainer/Dockerfile"
|
2020-09-20 11:40:16 +00:00
|
|
|
volumes:
|
2020-09-20 12:36:47 +00:00
|
|
|
# Allow git usage within container
|
|
|
|
- "/home/${USER}/.ssh:/home/ftuser/.ssh:ro"
|
|
|
|
- "/home/${USER}/.gitconfig:/home/ftuser/.gitconfig:ro"
|
2020-09-20 11:40:16 +00:00
|
|
|
- ..:/freqtrade:cached
|
2020-09-20 12:36:47 +00:00
|
|
|
# Persist bash-history
|
2020-09-20 12:16:36 +00:00
|
|
|
- freqtrade-vscode-server:/home/ftuser/.vscode-server
|
|
|
|
- freqtrade-bashhistory:/home/ftuser/commandhistory
|
2020-09-20 12:35:08 +00:00
|
|
|
# Expose API port
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:8080:8080"
|
2020-09-20 11:40:16 +00:00
|
|
|
command: /bin/sh -c "while sleep 1000; do :; done"
|
2020-09-20 12:16:36 +00:00
|
|
|
|
2020-09-20 12:35:08 +00:00
|
|
|
|
2020-09-20 12:16:36 +00:00
|
|
|
volumes:
|
|
|
|
freqtrade-vscode-server:
|
|
|
|
freqtrade-bashhistory:
|