-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
37 lines (28 loc) · 920 Bytes
/
Makefile
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
.PHONY: start stop restart logs compile-flexible-config elastic audit check
start:
docker-compose up -d
stop:
docker-compose down --volumes
restart:
docker-compose restart
logs:
docker-compose logs -f logstash
compile-flexible-config:
docker run \
-v "$(PWD)/config/krakend/:/etc/krakend/" \
-e "FC_DEBUG=true" \
-e "FC_CONFIG=/etc/krakend/fc_config.json" \
krakend/krakend-ee \
check -c extended/krakend.tmpl
check:
docker run -it \
-v "$(PWD)/config/krakend/:/etc/krakend/" \
krakend/krakend-ee \
check -d -t -c krakend.json --lint
audit:
docker run -it \
-v "$(PWD)/config/krakend/:/etc/krakend/" \
krakend/krakend-ee \
audit -c krakend.json
elastic:
curl -X POST "localhost:5601/api/saved_objects/_import" -H "kbn-xsrf: true" --form file=@config/telemetry-dashboards/kibana/dashboard.ndjson -H "kbn-xsrf: true"