pr feedback regarding docker-compose naming
This commit is contained in:
parent
e8e05b6876
commit
7c6921c743
30
LOCAL.md
Normal file
30
LOCAL.md
Normal 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
|
||||
```
|
@ -2,18 +2,8 @@
|
||||
version: '3'
|
||||
services:
|
||||
freqtrade_develop:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: "./Dockerfile"
|
||||
volumes:
|
||||
- ".:/freqtrade"
|
||||
|
||||
pytest:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: "./Dockerfile.develop"
|
||||
volumes:
|
||||
- ".:/freqtrade"
|
||||
command:
|
||||
["./scripts/pytest.sh"]
|
||||
|
||||
|
@ -1,8 +0,0 @@
|
||||
---
|
||||
version: '3'
|
||||
services:
|
||||
freqtrade:
|
||||
image: freqtradeorg/freqtrade:master
|
||||
volumes:
|
||||
- "./user_data:/freqtrade/user_data"
|
||||
- "./config.json:/freqtrade/config.json"
|
@ -1 +0,0 @@
|
||||
docker-compose.prod.yml
|
8
docker-compose.yml
Normal file
8
docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
version: '3'
|
||||
services:
|
||||
freqtrade:
|
||||
image: freqtradeorg/freqtrade:master
|
||||
volumes:
|
||||
- "./user_data:/freqtrade/user_data"
|
||||
- "./config.json:/freqtrade/config.json"
|
Loading…
Reference in New Issue
Block a user