-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
51 lines (45 loc) · 947 Bytes
/
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
46
47
48
49
50
51
version: '3.9'
services:
live-data:
build:
context: .
dockerfile: live-data-service/Dockerfile
volumes:
- ./live-data-service:/app
env_file:
- live-data-service/.env
restart: always
depends_on:
- historical-data
historical-data:
build:
context: .
dockerfile: historical-data-service/Dockerfile
volumes:
- ./historical-data-service:/app
strategies:
build:
context: .
dockerfile: strategy-service/Dockerfile
volumes:
- ./strategy-service:/app
env_file:
- strategy-service/.env
portfolio:
build:
context: .
dockerfile: portfolio-service/Dockerfile
volumes:
- ./portfolio-service:/app
depends_on:
- redis_server
redis_server:
image: redis/redis-stack:latest
ports:
- "8002:8001"
volumes:
- redis_cache:/data
logging:
driver: none
volumes:
redis_cache: