-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
82 lines (75 loc) · 1.77 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
services:
app:
container_name: derailed-app
restart: unless-stopped
ports:
- "8080:8080"
image: "ghcr.io/derailedapp/derailed-app:master"
api:
container_name: derailed-api
restart: unless-stopped
depends_on:
- redis
- mongo
- zookeeper
- kafka
ports:
- "5000:5000"
image: "ghcr.io/derailedapp/derailed-api:master"
environment:
- STORAGE_URI=redis://redis:6379
- MONGO_URI=mongodb://mongo:27017
- KAFKA_URI=kafka:9092
- INSTANCE_NAME=one.derailed.docker
gateway:
container_name: derailed-gateway
restart: unless-stopped
depends_on:
- redis
- mongo
- zookeeper
- kafka
ports:
- "7000:7000"
image: "ghcr.io/derailedapp/derailed-gateway:master"
environment:
- RATE_LIMIT_URI=redis://redis:6379
- MONGO_URI=mongodb://mongo:27017
- KAFKA_URI=kafka:9092
- PORT=7000
jan:
container_name: jan
restart: unless-stopped
depends_on:
- gateway
- api
ports:
- "443:443"
- "80:80"
image: "ghcr.io/derailedapp/january:master"
environment:
- SERVER_NAME=derailed.one
- APP_URL=app
- API_URL=api
- GATEWAY_URL=gateway
redis:
image: eqalpha/keydb
mongo:
image: mongo
volumes:
- ./.data/db:/data/db
zookeeper:
image: 'bitnami/zookeeper:latest'
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
kafka:
image: 'bitnami/kafka:latest'
environment:
- KAFKA_BROKER_ID=1
- ALLOW_PLAINTEXT_LISTENER=yes
- KAFKA_LISTENERS=PLAINTEXT://:9092
- KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
- KAFKA_ADVERTISED_HOST_NAME=kafka
depends_on:
- zookeeper