Skip to content

Commit 7728e26

Browse files
committed
Include Technical in default image
1 parent c7ee346 commit 7728e26

5 files changed

+7
-4
lines changed

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
# Build step - only needed when additional dependencies are needed
1010
# build:
1111
# context: .
12-
# dockerfile: "./docker/Dockerfile.technical"
12+
# dockerfile: "./docker/Dockerfile.custom"
1313
restart: unless-stopped
1414
container_name: freqtrade
1515
volumes:

docker/Dockerfile.technical docker/Dockerfile.custom

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ FROM freqtradeorg/freqtrade:develop
33
RUN apt-get update \
44
&& apt-get -y install git \
55
&& apt-get clean \
6-
&& pip install git+https://github.com/freqtrade/technical
6+
# The below dependency - pyti - serves as an example. Please use whatever you need!
7+
&& pip install pyti

docs/docker_quickstart.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ Head over to the [Backtesting Documentation](backtesting.md) to learn more.
156156

157157
### Additional dependencies with docker-compose
158158

159-
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.
160-
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).
159+
If your strategy requires dependencies not included in the default image - it will be necessary to build the image on your host.
160+
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).
161161

162162
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.
163163

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ urllib3==1.26.4
1414
wrapt==1.12.1
1515
jsonschema==3.2.0
1616
TA-Lib==0.4.19
17+
technical==1.2.2
1718
tabulate==0.8.9
1819
pycoingecko==1.4.0
1920
jinja2==2.11.3

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
'wrapt',
7878
'jsonschema',
7979
'TA-Lib',
80+
'technical',
8081
'tabulate',
8182
'pycoingecko',
8283
'py_find_1st',

0 commit comments

Comments
 (0)