This repository has been archived by the owner on Dec 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
77 lines (77 loc) · 1.75 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
# Note, you need to set sudo sysctl -w vm.max_map_count=262144
# for running elk on linux
version: '2'
services:
proposal:
image: latetuna/proposal:latest
ports:
- "8090:8090"
links:
- kafka
# environment:
# VIRTUAL_HOST: "*:4000/proposal, */"
ports:
- "8090:8090"
conference:
image: latetuna/conference:latest
ports:
- "8091:8091"
links:
- kafka
ports:
- "8091:8091"
# environment:
# VIRTUAL_HOST: "*:4000/conference, */"
gui:
build: ./gui
ports:
- "3000:3000"
- "8088:8088"
links:
- proposal
- conference
- elk
environment:
HOT_RELOAD_PORT: 8100
zookeeper:
image: wurstmeister/zookeeper
ports:
- "2181:2181"
kafka:
build: ./eventbus
ports:
- "9092:9092"
links:
- zookeeper:zk
environment:
# For now it is not possible to run services within docker and IDE, you
# have to choose either, unless kafka is added to /etc/hosts
#
# Use this line when starting services from IDE
#KAFKA_LISTENERS: "PLAINTEXT://0.0.0.0:9092"
# Use this line when running the services with docker
KAFKA_LISTENERS: "PLAINTEXT://kafka:9092"
KAFKA_CREATE_TOPICS: "si.topic:1:1"
KAFKA_ZOOKEEPER_CONNECT: "zk:2181"
KAFKA_DELETE_TOPIC_ENABLED: "true"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data_kafka:/kafka
elk:
image: sebp/elk
ports:
- "5601:5601"
- "5044:5044"
# lb:
# image: dockercloud/haproxy
# depends_on:
# - proposal
# - conference
# links:
# - conference
# - proposal
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
# ports:
# - "4000:80"
# - "1936:1936"