Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
docker-elk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
段孔乐
docker-elk
Commits
a7761512
Commit
a7761512
authored
Nov 19, 2016
by
Anthony Lapenna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated README
parent
63a7750c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
README.md
README.md
+13
-2
No files found.
README.md
View file @
a7761512
...
...
@@ -108,7 +108,9 @@ logstash:
-
./logstash/config:/etc/logstash/conf.d
ports
:
-
"
5000:5000"
links
:
networks
:
-
docker_elk
depends_on
:
-
elasticsearch
environment
:
-
LS_HEAP_SIZE=2048m
...
...
@@ -135,7 +137,9 @@ logstash:
-
./logstash/config:/etc/logstash/conf.d
ports
:
-
"
5000:5000"
links
:
networks
:
-
docker_elk
depends_on
:
-
elasticsearch
environment
:
-
LS_JAVA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=18080 -Dcom.sun.management.jmxremote.rmi.port=18080 -Djava.rmi.server.hostname=DOCKER_HOST_IP -Dcom.sun.management.jmxremote.local.only=false
...
...
@@ -157,6 +161,8 @@ elasticsearch:
-
"
9300:9300"
environment
:
ES_JAVA_OPTS
:
"
-Xms1g
-Xmx1g"
networks
:
-
docker_elk
volumes
:
-
./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
```
...
...
@@ -172,6 +178,8 @@ elasticsearch:
-
"
9300:9300"
environment
:
ES_JAVA_OPTS
:
"
-Xms1g
-Xmx1g"
networks
:
-
docker_elk
```
# Storage
...
...
@@ -185,11 +193,14 @@ In order to persist Elasticsearch data even after removing the Elasticsearch con
```
yml
elasticsearch
:
build
:
elasticsearch/
command
:
elasticsearch -Des.network.host=_non_loopback_ -Des.cluster.name
:
my-cluster
ports
:
-
"
9200:9200"
-
"
9300:9300"
environment
:
ES_JAVA_OPTS
:
"
-Xms1g
-Xmx1g"
networks
:
-
docker_elk
volumes
:
-
/path/to/storage:/usr/share/elasticsearch/data
```
...
...
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