stable/.devcontainer/docker-compose.yml

25 lines
625 B
YAML
Raw Normal View History

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: ..
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}/.ssh:/home/ftuser/.ssh:ro"
- "${HOME}/.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
# 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:16:36 +00:00
volumes:
freqtrade-vscode-server:
freqtrade-bashhistory: