multiple gateway WIP

This commit is contained in:
Michael Feng
2023-04-05 16:13:54 -07:00
parent 6bcdff4a3d
commit ae0c0d1977
4 changed files with 218 additions and 63 deletions

View File

@@ -2,6 +2,7 @@ version: "3.9"
services:
bot:
image: hummingbot/hummingbot:latest
# image: hummingbot/hummingbot:latest-arm
volumes:
- "./hummingbot_files/conf:/conf"
- "./hummingbot_files/conf/connectors:/conf/connectors"
@@ -21,6 +22,7 @@ services:
bot2:
image: hummingbot/hummingbot:latest
# image: hummingbot/hummingbot:latest-arm
volumes:
- "./hummingbot_files/conf:/conf"
- "./hummingbot_files/conf/connectors:/conf/connectors"
@@ -29,8 +31,8 @@ services:
- "./hummingbot_files/data:/data"
- "./hummingbot_files/scripts:/scripts"
- "./hummingbot_files/certs:/certs"
environment:
- CONFIG_PASSWORD=a
# environment:
# - CONFIG_PASSWORD=[password]
logging:
driver: "json-file"
options:
@@ -42,6 +44,7 @@ services:
gateway:
image: hummingbot/gateway:latest
# image: hummingbot/gateway:latest-arm
ports:
- "15888:15888"
- "8080:8080"
@@ -49,5 +52,5 @@ services:
- "./gateway_files/conf:/usr/src/app/conf"
- "./gateway_files/logs:/usr/src/app/logs"
- "./hummingbot_files/certs:/usr/src/app/certs"
environment:
- GATEWAY_PASSPHRASE=a
# environment:
# - GATEWAY_PASSPHRASE=[passphrase]