-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (59 loc) · 1.28 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
version: "3"
services:
message-queue:
image: redis
ports:
- "6379:6379"
db:
image: postgres
ports:
- "5432:5432"
environment:
- POSTGRES_USER=gimi
- POSTGRES_PASSWORD=gimi
- POSTGRES_DB=gimi
invoker-linux:
build:
dockerfile: build/Dockerfile.invoker-linux
context: .
ports:
- "5001:5001"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- REDIS_URL=redis://message-queue:6379
- HTTP_ADDR=:5001
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
links:
- message-queue
runtime-filter:
build:
dockerfile: build/Dockerfile.runtime-filter
context: .
ports:
- "50051:50051"
environment:
- PORT=50051
- REDIS_URL=redis://message-queue:6379
links:
- message-queue
controller:
build:
dockerfile: build/Dockerfile.controller
context: .
ports:
- "3000:3000"
environment:
- RUNTIME_FILTER_URL=runtime-filter:50051
- PORT=3000
- DB_URL=postgres://gimi:gimi@db:5432/gimi
- DB_SYNC=true
links:
- runtime-filter
web:
build:
dockerfile: build/Dockerfile.web
context: .
ports:
- "4200:4200"