-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhbot-volumes.compose.yml
81 lines (74 loc) · 1.9 KB
/
hbot-volumes.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
version: '3.9'
name: hummingbot
services:
hbot:
container_name: hbot-${HBOT_ID}
image: ${HBOT_IMAGE:-"hummingbot/hummingbot:latest"}
volumes:
- hbot-conf:/home/hummingbot/conf
- hbot-connectors-global:/home/hummingbot/conf/connectors
- hbot-strategies-global:/home/hummingbot/conf/strategies
- hbot-logs:/home/hummingbot/logs
- hbot-data:/home/hummingbot/data
- hbot-scripts-global:/home/hummingbot/scripts
- hbot-gateway-certs:/home/hummingbot/certs
environment:
- CONFIG_PASSWORD=${HBOT_PSK}
- CONFIG_FILE_NAME=${HBOT_FILE}
- CERTS_FOLDER="/home/hummingbot/certs"
- GATEWAY_CONF_FOLDER="/gateway-conf"
- GATEWAY_LOGS_FOLDER="/logs"
- PYTHONUNBUFFERED=1
network_mode: "host"
# networks:
# - hbotnet
stdin_open: true # docker run -i
tty: true # docker run -t
restart: unless-stopped
mem_limit: ${HBOT_MEM_LIMIT:-1000}m
mem_reservation: ${HBOT_MEM_RESERVATION:-300}m
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: 5
volumes:
hbot-data:
name: hbot-${HBOT_ID}-data
driver: local
driver_opts: {}
hbot-conf:
name: hbot-${HBOT_ID}-conf
driver: local
driver_opts: {}
hbot-logs:
name: hbot-${HBOT_ID}-logs
driver: local
driver_opts: {}
hbot-scripts:
name: hbot-${HBOT_ID}-scripts
driver: local
driver_opts: {}
hbot-pmmscripts:
name: hbot-${HBOT_ID}-pmmscripts
driver: local
driver_opts: {}
hbot-connectors-global:
name: hbot-conf-connectors
driver: local
driver_opts: {}
hbot-strategies-global:
name: hbot-conf-strategies
driver: local
driver_opts: {}
hbot-scripts-global:
name: hbot-conf-scripts
driver: local
driver_opts: {}
hbot-gateway-certs:
external: true
networks:
hbotnet:
name: hbotnet
driver: bridge
external: true