-
Notifications
You must be signed in to change notification settings - Fork 156
/
docker-compose.yml
87 lines (87 loc) · 2.35 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
services:
krakend_ce:
# The :watch image restarts the service automatically when the configuration files change.
# Do not use this image in production, it's meant to speed up your testing and development.
image: devopsfaith/krakend:watch
volumes:
- ./config/krakend:/etc/krakend
ports:
- "1234:1234"
- "8080:8080"
- "8090:8090"
command: ["run", "-d", "-c", "/etc/krakend/krakend.json"]
depends_on:
- fake_api
- jaeger
grafana:
image: grafana/grafana:9.1.2
ports:
- "4000:3000"
volumes:
- "./config/grafana/datasources/all.yml:/etc/grafana/provisioning/datasources/all.yml"
- "./config/grafana/dashboards/all.yml:/etc/grafana/provisioning/dashboards/all.yml"
- "./config/grafana/krakend:/var/lib/grafana/dashboards/krakend"
influxdb:
image: influxdb:1.8.10
environment:
- "INFLUXDB_DB=krakend"
- "INFLUXDB_USER=krakend-dev"
- "INFLUXDB_USER_PASSWORD=pas5w0rd"
- "INFLUXDB_ADMIN_USER=admin"
- "INFLUXDB_ADMIN_PASSWORD=supersecretpassword"
ports:
- "8086:8086"
jaeger:
image: jaegertracing/all-in-one:1
ports:
- "16686:16686"
- "14268:14268"
elasticsearch:
image: elasticsearch:8.4.1
environment:
- "discovery.type=single-node"
- "xpack.security.enabled=false"
- "xpack.security.transport.ssl.enabled=false"
- "xpack.security.http.ssl.enabled=false"
- "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
ports:
- "19200:9200"
- "9300:9300"
kibana:
image: kibana:8.4.1
ports:
- "5601:5601"
logstash:
image: logstash:8.4.1
ports:
- "12201:12201/udp"
- "5044:5044"
environment:
- "xpack.monitoring.elasticsearch.url=http://elasticsearch:9200"
volumes:
- ./config/logstash/logstash.conf:/usr/share/logstash/pipeline/logstash.conf
command: ["-f", "/usr/share/logstash/pipeline/logstash.conf"]
rabbitmq:
image: rabbitmq:3-management
ports:
- "15672:15672"
fake_api:
image: busybox:latest
volumes:
- ./data:/var/www/
ports:
- "8000:80"
command: httpd -f -h /var/www/
web:
build:
context: images/spa-auth-web
ports:
- "3000:3000"
jwt_revoke:
build:
context: images/jwt-revoker
ports:
- "9000:8080"
depends_on:
- krakend_ce
restart: always