pr feedback regarding docker-compose naming

This commit is contained in:
Ashton Honnecke 2019-09-23 13:17:20 -06:00
parent e8e05b6876
commit 7c6921c743
4 changed files with 38 additions and 19 deletions

30
LOCAL.md Normal file
View File

@ -0,0 +1,30 @@
# Local development
The fastest and easiest way to start up is to use docker-compose.develop which gives developers the ability to start the bot up with all the required dependencies, *without* needing to install any freqtrade specific dependencies on your local machine.
# Install
## git
``` bash
sudo apt install git
```
## docker
``` bash
sudo apt install docker
```
## docker-compose
``` bash
sudo apt install docker-compose
```
# Starting the bot
## Develop dockerfile
``` bash
rm docker-compose.yml && mv docker-compose.develop.yml docker-compose.yml
```
## Docker Compose up
``` bash
docker-compose up
```

View File

@ -2,18 +2,8 @@
version: '3' version: '3'
services: services:
freqtrade_develop: freqtrade_develop:
build:
context: .
dockerfile: "./Dockerfile"
volumes:
- ".:/freqtrade"
pytest:
build: build:
context: . context: .
dockerfile: "./Dockerfile.develop" dockerfile: "./Dockerfile.develop"
volumes: volumes:
- ".:/freqtrade" - ".:/freqtrade"
command:
["./scripts/pytest.sh"]

View File

@ -1,8 +0,0 @@
---
version: '3'
services:
freqtrade:
image: freqtradeorg/freqtrade:master
volumes:
- "./user_data:/freqtrade/user_data"
- "./config.json:/freqtrade/config.json"

View File

@ -1 +0,0 @@
docker-compose.prod.yml

8
docker-compose.yml Normal file
View File

@ -0,0 +1,8 @@
---
version: '3'
services:
freqtrade:
image: freqtradeorg/freqtrade:master
volumes:
- "./user_data:/freqtrade/user_data"
- "./config.json:/freqtrade/config.json"