Updated documentation.
This commit is contained in:
parent
b278b54970
commit
57e09b93f2
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ logstash:
|
|||
|
||||
As for the Java heap memory, another environment variable allows to specify JAVA_OPTS used by Logstash. You'll need to specify the appropriate options to enable JMX and map the JMX port on the docker host.
|
||||
|
||||
Update the container in the `docker-compose.yml` to add the *LS_JAVA_OPTS* environment variable with the following content, do not forget to update the *-Djava.rmi.server.hostname* option with the IP address of your Docker host (replace **DOCKER_HOST_IP**):
|
||||
Update the container in the `docker-compose.yml` to add the *LS_JAVA_OPTS* environment variable with the following content (I've mapped the JMX service on the port 18080, you can change that), do not forget to update the *-Djava.rmi.server.hostname* option with the IP address of your Docker host (replace **DOCKER_HOST_IP**):
|
||||
|
||||
```yml
|
||||
logstash:
|
||||
|
|
Loading…
Reference in a new issue