-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
97 lines (95 loc) · 2.72 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
version: '3.5'
services:
esm:
build:
context: ./
dockerfile: ./Dockerfile
depends_on:
- esm-mongo
image: elastest/esm:latest
container_name: esm
hostname: esm
volumes:
- /var/run/docker.sock:/var/run/docker.sock:rw
environment:
- ESM_PORT=37005
- ESM_MONGO_HOST=esm-mongo # the mongo service
- ET_EDM_ALLUXIO_API=http://edm-alluxio-master:19999/
# - ET_EDM_MYSQL_HOST=edm-mysql
# - ET_EDM_MYSQL_PORT=3306
- ET_EDM_ELASTICSEARCH_API=http://edm-elasticsearch:9200/
- ET_EDM_API=http://edm:37003/
- ET_EPM_API=http://epm:37002/
- ET_ETM_API=http://etm:37006/
- ET_ESM_API=http://esm:37005/
- ET_EIM_API=http://eim:37004/
- ET_ETM_LSBEATS_HOST=etm-beats
- ET_ETM_LSBEATS_PORT=5044
- ET_ETM_LSHTTP_API=http://etm-logstash:5002/
- ET_ETM_RABBIT_HOST=etm-rabbitmq
- ET_ETM_RABBIT_PORT=5672
- ET_EMP_API=http://eim:37001/
- ET_EMP_INFLUXDB_API=http://emp-influxdb:8086/
- ET_EMP_INFLUXDB_HOST=emp-influxdb
- ET_EMP_INFLUXDB_GRAPHITE_PORT=2003
# - ESM_MEASURE_INSTANCES=YES
- ESM_SENTINEL_TOPIC=user-1-elastest_tss
- ESM_SENTINEL_AGENT=sentinel-internal-log-agent
- ESM_SENTINEL_KAFKA_ENDPOINT=kafka.cloudlab.zhaw.ch:9092
- ESM_SENTINEL_KAFKA_KEY_SERIALIZER=StringSerializer
- ESM_SENTINEL_KAFKA_VALUE_SERIALIZER=StringSerializer
- ESM_SENTINEL_SERIES_NAME=service-health-check
- ESM_SENTINEL_HEALTH_CHECK_INTERVAL=60
# - KUBERNETES_HOST=https://192.168.99.101:8443
# - KUBERNETES_TOKEN=my-token
expose:
- 37005
ports:
- "37005:37005"
networks:
- elastest
esm-mongo:
image: mongo
container_name: mongo
hostname: esm-mongo
volumes:
- mongo-data:/data/db
ports:
- "27017"
networks:
- elastest
esm_ui:
depends_on:
- esm
image: ademord/esmweb:latest
environment:
- DEBUG=true
- SECRET_KEY=not secure only use for development
- ET_ESM_API=http://esm:37005
networks:
- elastest
ports:
- 8000:8000
expose:
- 8000
emp-docker-agent:
image: elastest/emp-docker-agent:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- KAFKA_ENDPOINT=kafka.cloudlab.zhaw.ch:9092
- KAFKA_KEY_SERIALIZER=StringSerializer
- KAFKA_VALUE_SERIALIZER=StringSerializer
- SENTINEL_TOPIC=user-1-elastest_tss
- SENTINEL_SERIES=service-docker-stats
- DOCKER_SOCKET=unix://var/run/docker.sock
- PERIODICITY=5
networks:
- elastest
volumes:
mongo-data:
driver: local
networks:
elastest:
driver: bridge
name: esm_elastest