Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.28 KB

docker-setup.md

File metadata and controls

40 lines (28 loc) · 1.28 KB

Docker

Running Binance Trade Bot Manager Telegram inside a Docker container is an experimental feature.

Setup

To run Binance Trade Bot Manager Telegram inside a Docker container you must first make sure to have your binance-trade-bot installation directory inside the BTB-manager-telegram one.
Your filesystem should look like this:

.
└── *parent_dir*
    └── BTB-manager-telegram
        └── binance-trade-bot

For quickly setting up the filesystem as intended you can run the docker_setup.py script:

$ python3 docker_setup.py

docker_setup.py also takes the following optional arguments:

optional arguments:
  -m, --make-image    Create a docker image for the bot.
  -u, --update-image  Update the docker image for the bot.
  -D, --delete-image  Delete the docker image for the bot.

Usage

To run Binance Trade Bot Manager Telegram in a Docker container you can do the following after setting up the image:

$ python3 -m btb_manager_telegram --docker

⚠ Due to the nature of Docker containers, whenever you use the Update Telegram Bot feature, only the repository inside the container will be updated while the one on your filesystem will remain untouched.