mirror of
https://github.com/d0zingcat/deploy.git
synced 2026-05-14 15:09:44 +00:00
Deploy: Hummingbot + Gateway
How to use it
You will need to have the certificates for the gateway and hummingbot under the folder hummingbot_files/certs. If you don't have it, don't worry, you can generate them with the client by doing the following:
- Make sure you have docker and docker-compose installed.
- Run the following command in the terminal:
docker-compose up -d - You will see that the gateway failed to start because you don't have the certificates
- Attach the instance of the bot by running:
docker attach hummingbot_gateway_compose-bot-1 - Create the password
- Run the following command in the client:
gateway generate-certs - When prompted enter the passphrase that you want. Is important that you change the docker-compose.yml on line 18 to the passphrase that you entered (the current passphrase is
a). - Exit the client and run the following command in the terminal:
docker-compose down - You will see that inside the hummingbot_files/certs folder you have the certificates.
- We are ready to deploy the gateway and hummingbot, run the following command in the terminal:
docker-compose up -d - If you attach the terminal of the gateway you will see that it is running.
docker attach hummingbot_gateway_compose-gateway-1 - If you attach the terminal of the bot you will see that it is running and the gateway is ONLINE.
docker attach hummingbot_gateway_compose-bot-1