(feat) deployment scenarios

This commit is contained in:
cardosofede
2023-02-23 16:20:43 -03:00
parent 6676827c4d
commit 3ba16a6173
17 changed files with 1050 additions and 113 deletions

View File

@@ -0,0 +1,16 @@
# Deploy a single Hummingbot instance with docker Compose
## How to use it
- Make sure you have docker and docker-compose installed.
- Run the following command:
```
docker-compose up -d
```
- Attach the terminal:
```
docker attach simple_hummingbot_compose-bot-1
```
- Now you have Hummingbot running! Remember that you can detach the terminal without stopping the bot by pressing `Ctrl + P` and `Ctrl + Q`.

View File

@@ -0,0 +1,18 @@
version: "3.9"
services:
bot:
image: hummingbot/hummingbot:latest
volumes:
- "./hummingbot_files/conf:/conf"
- "./hummingbot_files/logs:/logs"
- "./hummingbot_files/data:/data"
- "./hummingbot_files/scripts:/scripts"
- "./hummingbot_files/certs:/certs"
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: 5
tty: true
stdin_open: true
network_mode: host