version: "3.9" services: bot_1: container_name: bot_1 image: hummingbot/hummingbot:development volumes: - ./credentials/master_account:/home/hummingbot/conf - ./credentials/master_account/connectors:/home/hummingbot/conf/connectors - ./instances/bot_1/logs:/home/hummingbot/logs - ./instances/bot_1/data:/home/hummingbot/data - ./conf/scripts:/home/hummingbot/conf/scripts - ./conf/controllers:/home/hummingbot/conf/controllers environment: - CONFIG_PASSWORD=a # - CONFIG_FILE_NAME=v2_generic_with_controllers.py # - SCRIPT_CONFIG=conf_v2_generic_with_controllers_1.yml logging: driver: "json-file" options: max-size: "10m" max-file: 5 tty: true stdin_open: true bot_2: container_name: bot_2 image: hummingbot/hummingbot:development volumes: - ./credentials/master_account:/home/hummingbot/conf - ./credentials/master_account/connectors:/home/hummingbot/conf/connectors - ./instances/bot_2/logs:/home/hummingbot/logs - ./instances/bot_2/data:/home/hummingbot/data - ./conf/scripts:/home/hummingbot/conf/scripts - ./conf/controllers:/home/hummingbot/conf/controllers environment: - CONFIG_PASSWORD=a # - CONFIG_FILE_NAME=v2_generic_with_controllers.py # - SCRIPT_CONFIG=conf_v2_generic_with_contorllers_2.yml logging: driver: "json-file" options: max-size: "10m" max-file: 5 tty: true stdin_open: true gateway: container_name: gateway image: hummingbot/gateway:latest ports: - "15888:15888" - "8080:8080" volumes: - "./gateway_files/conf:/home/gateway/conf" - "./gateway_files/logs:/home/gateway/logs" - "./gateway_files/db:/home/gateway/db" - "./hummingbot_files/certs:/home/gateway/certs" # environment: # - GATEWAY_PASSPHRASE=a dashboard: container_name: dashboard image: hummingbot/dashboard:latest volumes: - ./instances/bot_1/data:/home/dashboard/data - ./instances/bot_2/data:/home/dashboard/data ports: - "8501:8501" emqx: container_name: "emqx" image: emqx:5 restart: unless-stopped environment: - EMQX_NAME=emqx - EMQX_LOADED_PLUGINS="emqx_recon,emqx_retainer,emqx_management,emqx_dashboard" volumes: - emqx-data:/opt/emqx/data - emqx-log:/opt/emqx/log - emqx-etc:/opt/emqx/etc ports: - "1883:1883" # mqtt:tcp - "8883:8883" # mqtt:tcp:ssl - "8083:8083" # mqtt:ws - "8084:8084" # mqtt:ws:ssl - "8081:8081" # http:management - "18083:18083" # http:dashboard - "61613:61613" # web-stomp gateway healthcheck: test: ["CMD", "/opt/emqx/bin/emqx_ctl", "status"] interval: 5s timeout: 25s retries: 5 volumes: emqx-data: {} emqx-log: {} emqx-etc: {}