2019-09-23 19:17:20 +00:00
|
|
|
---
|
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
freqtrade:
|
2020-09-20 09:45:08 +00:00
|
|
|
image: freqtradeorg/freqtrade:stable
|
2020-04-21 17:47:49 +00:00
|
|
|
# image: freqtradeorg/freqtrade:develop
|
2020-09-20 14:20:01 +00:00
|
|
|
# Use plotting image
|
|
|
|
# image: freqtradeorg/freqtrade:develop_plot
|
2023-05-19 05:25:02 +00:00
|
|
|
# # Enable GPU Image and GPU Resources (only relevant for freqAI)
|
|
|
|
# # Make sure to uncomment the whole deploy section
|
|
|
|
# deploy:
|
|
|
|
# resources:
|
|
|
|
# reservations:
|
|
|
|
# devices:
|
|
|
|
# - driver: nvidia
|
|
|
|
# count: 1
|
|
|
|
# capabilities: [gpu]
|
2020-02-08 12:34:04 +00:00
|
|
|
# Build step - only needed when additional dependencies are needed
|
|
|
|
# build:
|
|
|
|
# context: .
|
2021-04-03 05:17:02 +00:00
|
|
|
# dockerfile: "./docker/Dockerfile.custom"
|
2020-02-08 12:34:04 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
container_name: freqtrade
|
2019-09-23 19:17:20 +00:00
|
|
|
volumes:
|
|
|
|
- "./user_data:/freqtrade/user_data"
|
2021-01-25 19:48:52 +00:00
|
|
|
# Expose api on port 8080 (localhost only)
|
2021-10-06 18:09:08 +00:00
|
|
|
# Please read the https://www.freqtrade.io/en/stable/rest-api/ documentation
|
2023-05-19 05:25:02 +00:00
|
|
|
# for more information.
|
2021-10-06 18:09:08 +00:00
|
|
|
ports:
|
|
|
|
- "127.0.0.1:8080:8080"
|
2020-02-08 12:34:04 +00:00
|
|
|
# Default command used when running `docker compose up`
|
|
|
|
command: >
|
|
|
|
trade
|
2020-04-21 17:47:49 +00:00
|
|
|
--logfile /freqtrade/user_data/logs/freqtrade.log
|
2020-02-08 12:34:04 +00:00
|
|
|
--db-url sqlite:////freqtrade/user_data/tradesv3.sqlite
|
|
|
|
--config /freqtrade/user_data/config.json
|
|
|
|
--strategy SampleStrategy
|