-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-bank.yml
51 lines (47 loc) · 1.05 KB
/
docker-bank.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: '2.2'
services:
command-handler:
build:
context: command-handler
container_name: command-handler
environment:
KAFKA_BROKERS: "kafka:19092"
SCHEMA_REGISTRY_URL: "http://schema-registry:8081"
mem_limit: 300m
restart: always
projector:
build:
context: projector
container_name: projector
environment:
KAFKA_BROKERS: "kafka:19092"
SCHEMA_REGISTRY_URL: "http://schema-registry:8081"
mem_limit: 300m
restart: always
graphql-endpoint:
build:
context: graphql-endpoint
container_name: graphql-endpoint
ports:
- "8888:8888"
depends_on:
- command-handler
- projector
environment:
KAFKA_BROKERS: "kafka:19092"
SCHEMA_REGISTRY_URL: "http://schema-registry:8081"
PEDESTAL_HOST: 0.0.0.0
mem_limit: 400m
restart: always
frontend:
build:
context: frontend
container_name: frontend
ports:
- "8181:80"
depends_on:
- graphql-endpoint
environment:
- NGINX_PORT=80
restart: always