forked from hummingbot/hummingbot
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (41 loc) · 1.2 KB
/
docker-compose.yml
File metadata and controls
42 lines (41 loc) · 1.2 KB
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
version: "3.9"
services:
hummingbot:
container_name: hummingbot
# image: hummingbot/hummingbot:latest
build:
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:
- "./certs:/home/gateway/certs"
environment:
- GATEWAY_PASSPHRASE=a