Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docker-elk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hiep Nguyen
docker-elk
Commits
63a7750c
Commit
63a7750c
authored
Nov 19, 2016
by
Nathalia Ortega
Committed by
Anthony Lapenna
Nov 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use depends_on dependency container (#78)
parent
1f833af9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
17 deletions
+4
-17
docker-compose.yml
docker-compose.yml
+4
-0
Dockerfile
kibana/Dockerfile
+0
-7
entrypoint.sh
kibana/entrypoint.sh
+0
-10
No files found.
docker-compose.yml
View file @
63a7750c
...
...
@@ -19,6 +19,8 @@ services:
-
"
5000:5000"
networks
:
-
docker_elk
depends_on
:
-
elasticsearch
kibana
:
build
:
kibana/
volumes
:
...
...
@@ -27,6 +29,8 @@ services:
-
"
5601:5601"
networks
:
-
docker_elk
depends_on
:
-
elasticsearch
networks
:
docker_elk
:
...
...
kibana/Dockerfile
View file @
63a7750c
FROM
kibana:5
RUN
apt-get update
&&
apt-get
install
-y
netcat bzip2
COPY
entrypoint.sh /tmp/entrypoint.sh
RUN
chmod
+x /tmp/entrypoint.sh
CMD
["/tmp/entrypoint.sh"]
kibana/entrypoint.sh
deleted
100644 → 0
View file @
1f833af9
#!/usr/bin/env bash
# Wait for the Elasticsearch container to be ready before starting Kibana.
echo
"Stalling for Elasticsearch"
while
true
;
do
nc
-q
1 elasticsearch 9200 2>/dev/null
&&
break
done
echo
"Starting Kibana"
exec
kibana
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment