split docker composes
This commit is contained in:
parent
a218946f52
commit
e8e05b6876
19
docker-compose.develop.yml
Normal file
19
docker-compose.develop.yml
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
version: '3'
|
||||
services:
|
||||
freqtrade_develop:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: "./Dockerfile"
|
||||
volumes:
|
||||
- ".:/freqtrade"
|
||||
|
||||
pytest:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: "./Dockerfile.develop"
|
||||
volumes:
|
||||
- ".:/freqtrade"
|
||||
command:
|
||||
["./scripts/pytest.sh"]
|
||||
|
8
docker-compose.prod.yml
Normal file
8
docker-compose.prod.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"
|
1
docker-compose.yml
Symbolic link
1
docker-compose.yml
Symbolic link
@ -0,0 +1 @@
|
||||
docker-compose.prod.yml
|
5
scripts/pytest.sh
Executable file
5
scripts/pytest.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Running Unit tests"
|
||||
|
||||
pytest --random-order --cov=freqtrade --cov-config=.coveragerc freqtrade/tests/
|
Loading…
Reference in New Issue
Block a user