-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
docker-compose.yml
45 lines (44 loc) · 1.39 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: "3.9"
services:
hummingbot:
container_name: hummingbot
image: hummingbot/hummingbot:latest
# build: Uncomment this and comment image if you want to build it locally
# context: .
# dockerfile: Dockerfile
volumes:
- ./conf:/home/hummingbot/conf
- ./conf/connectors:/home/hummingbot/conf/connectors
- ./conf/strategies:/home/hummingbot/conf/strategies
- ./conf/controllers:/home/hummingbot/conf/controllers
- ./conf/scripts:/home/hummingbot/conf/scripts
- ./logs:/home/hummingbot/logs
- ./data:/home/hummingbot/data
- ./certs:/home/hummingbot/certs
- ./scripts:/home/hummingbot/scripts
- ./controllers:/home/hummingbot/controllers
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
tty: true
stdin_open: true
network_mode: host
# environment:
# - CONFIG_PASSWORD=a
# - CONFIG_FILE_NAME=simple_pmm_example.py
# - SCRIPT_CONFIG=conf_simple_pmm_example.yaml
# 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"
# - "./certs:/home/gateway/certs"
# environment:
# - GATEWAY_PASSPHRASE=a