forked from monasca/monasca-docker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
108 lines (99 loc) · 2.46 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
98
99
100
101
102
103
104
105
106
107
108
version: '2'
services:
influxdb:
image: influxdb:latest
influxdb-init:
image: monasca/influxdb-init:latest
depends_on:
- influxdb
zookeeper:
image: zookeeper:3.3
kafka:
image: monasca/kafka:0.9.0.1-2.11
environment:
ZOOKEEPER_CONNECTION_STRING: "zookeeper:2181"
KAFKA_DELETE_TOPIC_ENABLE: "true"
KAFKA_TOPIC_CONFIG: segment.ms=900000 # 15m
KAFKA_CREATE_TOPICS: "\
metrics:64:1,\
alarm-state-transitions:12:1,\
alarm-notifications:12:1,\
retry-notifications:3:1,\
events:12:1,\
60-seconds-notifications:3:1"
depends_on:
- zookeeper
mysql:
image: mysql:5.5
environment:
MYSQL_ROOT_PASSWORD: secretmysql
mysql-init:
image: monasca/mysql-init:1.1.0
environment:
MYSQL_INIT_DISABLE_REMOTE_ROOT: "true"
MYSQL_INIT_RANDOM_PASSWORD: "true"
keystone:
image: monasca/keystone:1.0.7
environment:
KEYSTONE_HOST: keystone
KEYSTONE_PASSWORD: secretadmin
KEYSTONE_DATABASE_BACKEND: mysql
KEYSTONE_MYSQL_HOST: mysql
KEYSTONE_MYSQL_USER: keystone
KEYSTONE_MYSQL_PASSWORD: keystone
KEYSTONE_MYSQL_DATABASE: keystone
volumes:
- ./keystone/preload.yml:/preload.yml
depends_on:
- mysql
ports:
- "5000:5000"
- "35357:35357"
monasca-sidecar:
image: timothyb89/monasca-sidecar:1.0.0
monasca:
image: monasca/api:master-prometheus
environment:
SIDECAR_URL: http://monasca-sidecar:4888/v1/ingest
depends_on:
- influxdb
- keystone
- mysql
- zookeeper
- kafka
- monasca-sidecar
ports:
- "8070:8070"
monasca-persister:
image: monasca/persister:master
depends_on:
- monasca
- influxdb
- zookeeper
- kafka
monasca-notification:
image: notque/notification:master
depends_on:
- monasca
- zookeeper
- kafka
- mysql
grafana:
image: monasca/grafana:4.1.0-pre1-1.0.0
environment:
GF_AUTH_BASIC_ENABLED: "false"
GF_USERS_ALLOW_SIGN_UP: "true"
GF_USERS_ALLOW_ORG_CREATE: "true"
GF_AUTH_KEYSTONE_ENABLED: "true"
GF_AUTH_KEYSTONE_AUTH_URL: http://keystone:5000
GF_AUTH_KEYSTONE_VERIFY_SSL_CERT: "false"
GF_AUTH_KEYSTONE_DEFAULT_DOMAIN: "Default"
ports:
- "3000:3000"
depends_on:
- keystone
- monasca
grafana-init:
image: monasca/grafana-init:1.0.0
depends_on:
- grafana