forked from novomatic-tech/keycloak-kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
43 lines (40 loc) · 1012 Bytes
/
docker-compose.yaml
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
version: '2.1'
services:
keycloak:
image: jboss/keycloak:5.0.0
container_name: keycloak
environment:
- KEYCLOAK_USER=admin
- KEYCLOAK_PASSWORD=admin
- DB_VENDOR=H2
expose:
- 8080
command:
- "-b 0.0.0.0"
- "-Dkeycloak.import=/opt/jboss/keycloak/kibana-realm.json"
ports:
- "8080:8080"
volumes:
- ./env/keycloak/kibana-realm.json:/opt/jboss/keycloak/kibana-realm.json
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.2.0
container_name: elasticsearch
environment:
ES_JAVA_OPTS: -Xms1g -Xmx1g
discovery.type: single-node
ports:
- "9200:9200"
kibana:
image: docker.elastic.co/kibana/kibana:7.2.0
container_name: kibana
ports:
- 5602:5601
restart: always
volumes:
- ./env/kibana/kibana.yml:/opt/kibana/config/kibana.yml
cerebro:
image: lmenezes/cerebro:latest
container_name: cerebro
restart: always
ports:
- "9000:9000"