You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+4
Original file line number
Diff line number
Diff line change
@@ -131,6 +131,10 @@ The embedded Elasticsearch server will be used by default if you don't provide e
131
131
132
132
> Please note, the embedded Elasticsearch server was not designed for use in Production.
133
133
134
+
To make the data directory persistent, you can bind mount it with the following argument for `docker run`:
135
+
136
+
-v $PWD/data:/opt/logstash/data
137
+
134
138
## Optional, build and run the image from source
135
139
136
140
If you prefer to build from source rather than use the [pblittle/docker-logstash][1] trusted build published to the public Docker Registry, execute the following:
0 commit comments