-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
97 lines (88 loc) · 1.79 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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
version: "3.8"
services:
timescaledb:
image: timescale/timescaledb:latest-pg12
container_name: timescaledb
ports:
- "5432:5432"
environment:
POSTGRES_DB: my_database
POSTGRES_USER: your_user
POSTGRES_PASSWORD: your_password
volumes:
- timescale-data:/var/lib/postgresql/data
networks:
- quix-network
redis:
image: redis:latest
container_name: redis
ports:
- "6379:6379"
networks:
- quix-network
api:
image: api-gate
container_name: api-gate-quix
ports:
- "3000:3000"
networks:
- quix-network
depends_on:
- timescaledb
environment:
DB_USER: your_user
DB_HOST: timescaledb
DB_NAME: my_database
DB_PASSWORD: your_password
DB_PORT: 5432
BASE_URL: redis://localhost:6379
db:
image: db-quix
container_name: db-quix
depends_on:
- redis
- timescaledb
environment:
DB_USER: your_user
DB_HOST: timescaledb
DB_NAME: my_database
DB_PASSWORD: your_password
DB_PORT: 5432
BASE_URL: redis://localhost:6379
networks:
- quix-network
engine:
image: engine-quix
container_name: engine-quix
environment:
REDIS_HOST: redis://localhost:6379
depends_on:
- redis
- timescaledb
networks:
- quix-network
mm:
image: mm-quix
container_name: mm-quix
environment:
BASE_URL: http://localhost:3000
depends_on:
- redis
- timescaledb
networks:
- quix-network
ws-exchange:
image: exchange-ws
container_name: ws-quix
ports:
- "8081:8081"
depends_on:
- redis
- timescaledb
networks:
- quix-network
volumes:
timescale-data:
networks:
quix-network:
driver: bridge