-
Notifications
You must be signed in to change notification settings - Fork 47
/
docker-compose-dev.yml
72 lines (67 loc) · 1.74 KB
/
docker-compose-dev.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
version: '3'
services:
mysql_keystone:
hostname: dev-host
image: mysql:5.7
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: secretmysql
LOGSTASH_FIELDS: "service=mysql_keystone"
networks:
- default
mysql-init_keystone:
hostname: dev-host
image: chaconpiza/mysql-init:${MYSQL_INIT_VERSION}
environment:
MYSQL_INIT_DISABLE_REMOTE_ROOT: "false"
MYSQL_INIT_RANDOM_PASSWORD: "false"
KEYSTONE_DB_ENABLED: 'true'
CREATE_MON_USERS: "false"
GRAFANA_DB_ENABLED: "false"
MYSQL_INIT_HOST: mysql_keystone
LOGSTASH_FIELDS: "service=mysql_keystone-init"
networks:
- default
depends_on:
- mysql_keystone
keystone:
hostname: dev-host
image: monasca/keystone:1.2.0
restart: unless-stopped
environment:
KEYSTONE_HOST: keystone
KEYSTONE_PASSWORD: secretadmin
KEYSTONE_DATABASE_BACKEND: mysql
KEYSTONE_MYSQL_HOST: mysql_keystone
KEYSTONE_MYSQL_USER: keystone
KEYSTONE_MYSQL_PASSWORD: keystone
KEYSTONE_MYSQL_DATABASE: keystone
KEYSTONE_MONASCA_ENDPOINT: ${MON_MONASCA_API_URL}
LOGSTASH_FIELDS: "service=keystone"
depends_on:
- mysql_keystone
ports:
- "5000:5000"
- "35357:35357"
networks:
- default
horizon:
hostname: dev-host
image: chaconpiza/horizon:2.1.2
restart: unless-stopped
environment:
MON_KEYSTONE_URL: ${MON_KEYSTONE_URL}
GRAFANA_IP: ${MON_GRAFANA_IP}
GRAFANA_PORT: ${MON_GRAFANA_PORT}
SHOW_LOGS: 'false'
LOGSPOUT: ignore
LOGSTASH_FIELDS: "service=horizon"
depends_on:
- keystone
ports:
- "80:80"
networks:
- default
networks:
network_keystone:
driver: bridge