Files
deploy/hummingbot_with_dashboard/docker-compose.yml
2023-09-07 00:26:35 +08:00

28 lines
819 B
YAML

version: "3.9"
services:
bot:
container_name: hummingbot
image: hummingbot/hummingbot:latest
volumes:
- ./hummingbot_files/conf:/home/hummingbot/conf
- ./hummingbot_files/conf/connectors:/home/hummingbot/conf/connectors
- ./hummingbot_files/conf/strategies:/home/hummingbot/conf/strategies
- ./hummingbot_files/logs:/home/hummingbot/logs
- ./hummingbot_files/data:/home/hummingbot/data
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: 5
tty: true
stdin_open: true
network_mode: host
dashboard:
container_name: dashboard
image: hummingbot/dashboard:latest
volumes:
- ./hummingbot_files/data:/home/dashboard/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "8501:8501"