-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
38 lines (28 loc) · 1004 Bytes
/
Dockerfile
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
FROM docker.elastic.co/kibana/kibana:5.3.3
USER root
SHELL ["/bin/bash", "-c"]
RUN DEBIAN_FRONTEND=noninteractive apt update && apt install sudo
USER kibana
COPY kibana.yml /usr/share/kibana/config/
COPY docker-entrypoint.overload.sh /usr/share/kibana/
USER root
# Then create the /etc/ezmaster.json in your docker image.
# It will tell to ezmaster where is your web server (ex: port 3000),
# where is your JSON configuration file,
# and where is your data folder
# "configType" value can be "json" or "text" depending on your config format
RUN echo '{ \
"httpPort": 5601, \
"configPath": "/usr/share/kibana/config/kibana.yml", \
"configType": "text", \
"dataPath": "/usr/share/kibana/data", \
"technicalApplication": true \
}' > /etc/ezmaster.json
RUN chmod -R 1777 /tmp
EXPOSE 5601
ENV XPACK_SECURITY_ENABLED false
ENV XPACK_GRAPH_ENABLED false
ENV XPACK_ML_ENABLED false
ENV XPACK_REPORTING_ENABLED false
WORKDIR /usr/share/kibana
ENTRYPOINT [ "./docker-entrypoint.overload.sh" ]