-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
54 lines (52 loc) · 1.21 KB
/
docker-compose.yaml
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
version: '3'
services:
postgres:
image: postgres
hostname: postgres
volumes:
- postgres_scoring_tariff_prod:/var/lib/postgresql/data
ports:
- 6432:5432
environment:
- POSTGRES_USER=developer
- POSTGRES_PASSWORD=password
- POSTGRES_DB=scoring
redis:
image: redis
hostname: redis
ports:
- "6379:6379"
volumes:
- ./data/redis:/data
entrypoint: redis-server --appendonly yes
kafka:
image: johnnypark/kafka-zookeeper
ports:
- 2181:2181
- 9092:9092
environment:
- ADVERTISED_HOST=127.0.0.1
events:
build:
context: .
dockerfile: Events.Dockerfile
ports:
- "700:80"
depends_on:
- redis
- kafka
environment:
- ConnectionStrings__Kafka=kafka:9092
- ConnectionStrings__Redis=redis:6379
event_web_client:
build:
context: .
dockerfile: Events.WebClient.Dockerfile
args:
- NEXT_PUBLIC_EVENT_API_URL=events:700
depends_on:
- events
environment:
- NEXT_PUBLIC_EVENT_API_URL=events:700
volumes:
postgres_scoring_tariff_prod: