forked from hummingbot/quants-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (39 loc) · 1.08 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
version: '3.8'
services:
base-task-runner:
image: hummingbot/quants_lab:latest
volumes:
- ./data:/quants-lab/data
- ./core:/quants-lab/core
- ./tasks:/quants-lab/tasks
- ./research_notebooks:/quants-lab/research_notebooks
- ./controllers:/quants-lab/controllers
- ./services:/quants-lab/services
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_HOST=timescaledb
command: conda run --no-capture-output -n quants-lab python3 tasks/task_runner.py
networks:
- quants-lab-network
depends_on:
- timescaledb
timescaledb:
container_name: timescaledb
image: timescale/timescaledb:latest-pg14
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=timescaledb
volumes:
- timescale-data:/var/lib/postgresql/data
ports:
- "5432:5432"
networks:
- quants-lab-network
networks:
quants-lab-network:
driver: bridge
volumes:
timescale-data:
driver: local