Skip to content

Commit

Permalink
Include Technical in default image
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Apr 3, 2021
1 parent c7ee346 commit 7728e26
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
# Build step - only needed when additional dependencies are needed
# build:
# context: .
# dockerfile: "./docker/Dockerfile.technical"
# dockerfile: "./docker/Dockerfile.custom"
restart: unless-stopped
container_name: freqtrade
volumes:
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile.technical → docker/Dockerfile.custom
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ FROM freqtradeorg/freqtrade:develop
RUN apt-get update \
&& apt-get -y install git \
&& apt-get clean \
&& pip install git+https://github.com/freqtrade/technical
# The below dependency - pyti - serves as an example. Please use whatever you need!
&& pip install pyti
4 changes: 2 additions & 2 deletions docs/docker_quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ Head over to the [Backtesting Documentation](backtesting.md) to learn more.

### Additional dependencies with docker-compose

If your strategy requires dependencies not included in the default image (like [technical](https://github.com/freqtrade/technical)) - it will be necessary to build the image on your host.
For this, please create a Dockerfile containing installation steps for the additional dependencies (have a look at [docker/Dockerfile.technical](https://github.com/freqtrade/freqtrade/blob/develop/docker/Dockerfile.technical) for an example).
If your strategy requires dependencies not included in the default image - it will be necessary to build the image on your host.
For this, please create a Dockerfile containing installation steps for the additional dependencies (have a look at [docker/Dockerfile.custom](https://github.com/freqtrade/freqtrade/blob/develop/docker/Dockerfile.cusotm) for an example).

You'll then also need to modify the `docker-compose.yml` file and uncomment the build step, as well as rename the image to avoid naming collisions.

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ urllib3==1.26.4
wrapt==1.12.1
jsonschema==3.2.0
TA-Lib==0.4.19
technical==1.2.2
tabulate==0.8.9
pycoingecko==1.4.0
jinja2==2.11.3
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
'wrapt',
'jsonschema',
'TA-Lib',
'technical',
'tabulate',
'pycoingecko',
'py_find_1st',
Expand Down

0 comments on commit 7728e26

Please sign in to comment.