forked from enarjord/passivbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (31 loc) · 869 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (31 loc) · 869 Bytes
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
services:
passivbot:
profiles:
- default
build:
context: .
dockerfile: Dockerfile
image: passivbot:latest
container_name: passivbot
restart: unless-stopped
volumes:
- ./:/app/
working_dir: /app
# Default command runs src/main.py; override as needed
#command: python src/main.py configs/template.json
#command: python src/backtest.py configs/examples/top20mcap.json
#command: python src/optimize.py configs/template.json
passivbot-live:
profiles:
- live
build:
context: .
dockerfile: Dockerfile_live
image: passivbot-live:latest
container_name: passivbot-live
restart: unless-stopped
volumes:
- ./configs/:/app/configs/
- ./api-keys.json:/app/api-keys.json
working_dir: /app
# command: python src/main.py configs/template.json