Adapters
chemistry
biology
finance
legal
art
climate
agent
Merge
BACCHUS45 commited on
Commit
4bf6114
·
verified ·
1 Parent(s): 29154c6

Create docker-compose.yml

Browse files
Files changed (1) hide show
  1. docker-compose.yml +73 -0
docker-compose.yml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version: '3.8'
2
+ services:
3
+ postgres:
4
+ image: postgres:15
5
+ environment:
6
+ POSTGRES_DB: integral
7
+ POSTGRES_USER: integral
8
+ POSTGRES_PASSWORD: integral
9
+ volumes:
10
+ - pgdata:/var/lib/postgresql/data
11
+ ports:
12
+ - "5432:5432"
13
+
14
+ redis:
15
+ image: redis:7
16
+ command: ["redis-server", "--save", "60", "1", "--appendonly", "yes"]
17
+ ports:
18
+ - "6379:6379"
19
+
20
+ apollo:
21
+ build: ./services/apollo-server
22
+ depends_on:
23
+ - postgres
24
+ - redis
25
+ environment:
26
+ - DATABASE_URL=postgresql://integral:integral@postgres:5432/integral
27
+ - REDIS_URL=redis://redis:6379
28
+ - PORT=4000
29
+ ports:
30
+ - "4000:4000"
31
+
32
+ detection:
33
+ build: ./services/detection-service
34
+ depends_on:
35
+ - postgres
36
+ - redis
37
+ environment:
38
+ - DATABASE_URL=postgresql://integral:integral@postgres:5432/integral
39
+ - REDIS_URL=redis://redis:6379
40
+ ports:
41
+ - "3001:3001"
42
+
43
+ verification:
44
+ build: ./services/verification-worker
45
+ depends_on:
46
+ - redis
47
+ - postgres
48
+ environment:
49
+ - DATABASE_URL=postgresql://integral:integral@postgres:5432/integral
50
+ - REDIS_URL=redis://redis:6379
51
+
52
+ billing:
53
+ build: ./services/billing-worker
54
+ depends_on:
55
+ - postgres
56
+ - redis
57
+ environment:
58
+ - DATABASE_URL=postgresql://integral:integral@postgres:5432/integral
59
+ - REDIS_URL=redis://redis:6379
60
+
61
+ dashboard:
62
+ build: ./services/dashboard
63
+ depends_on:
64
+ - apollo
65
+ environment:
66
+ - REACT_APP_GRAPHQL_HTTP=http://apollo:4000/graphql
67
+ - REACT_APP_GRAPHQL_WS=ws://apollo:4000/graphql
68
+ ports:
69
+ - "3000:3000"
70
+
71
+ volumes:
72
+ pgdata:
73
+