J2897

Install Freqtrade in Docker

Aug 17th, 2022 (edited)
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

Docker Freqtrade

Install Freqtrade Docker Container

mkdir freqtrade
cd freqtrade
curl https://raw.githubusercontent.com/freqtrade/freqtrade/stable/docker-compose.yml -o docker-compose.yml
docker compose pull
docker compose run --rm freqtrade create-userdir --userdir user_data
docker compose run --rm freqtrade new-config --config user_data/config.json

Edit the docker-compose.yml file:

nano docker-compose.yml

Delete the loopback address before the port binding:

# Expose api on port 8080 (localhost only)
ports:
  - "8080:8080"

Start Freqtrade

Bring it up:

docker compose up -d
docker ps

Shell:

uname -a
docker exec -it freqtrade bash
uname -a
exit

Bring it down:

docker compose down
Add Comment
Please, Sign In to add comment