Skip to content

Instantly share code, notes, and snippets.

@nuaimat
Created June 6, 2021 10:48
Show Gist options
  • Save nuaimat/3712e0e8090f00c7e53661d6f5ec20dc to your computer and use it in GitHub Desktop.
Save nuaimat/3712e0e8090f00c7e53661d6f5ec20dc to your computer and use it in GitHub Desktop.
how to Use Rikj000 branch in your MGM docker
git clone https://github.com/Rikj000/freqtrade.git
mv ./freqtrade/ ./Freqtrade-Rikj000/ && cd ./Freqtrade-Rikj000/
git checkout hyperopt-show-include-non-optimized-in-json
git reset --hard
inside docker-compose.yml
comment out:
image: freqtradeorg/freqtrade:stable
and uncomment (PS: don't use any ./docker/Dockerfile.* if the first line is FROM freqtradeorg/freqtrade:develop):
build:
context: .
dockerfile: "./docker/Dockerfile.aarch64" # PS this file is Apple M1 friendly
# OR
dockerfile: "./Dockerfile" # this is the general docker file for other arch and will build from current directory
docker-compose build
# after it builds successfully
docker images
# will show something like:
freqtrade-rikj000_freqtrade latest 706611c0b363 few seconds ago 647MB
now we have a custom image made from Rikj000 branch and it's in your local docker registry, to use it anywhere
to use it in another installation of MGM, inside your docker-compose.yml replace the image entry with :
image: freqtrade-rikj000_freqtrade:latest
@jeremyruffell
Copy link

You could also use the Docker Compose file provided in the MGM Repo Here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment