-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Elasticsearch configuration file to avoid tricky environment vari…
…able names (#4992) It appears that there is no way to pass allow-origin as an environment variable, as ES will not recognise the same option with an underscore, and provides no method to map hyphens. The configuration file is much more searchable against the docs anyway.
- Loading branch information
1 parent
ade3169
commit 5a3d387
Showing
3 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Disable XPack | ||
# https://www.elastic.co/guide/en/elasticsearch/reference/5.3/docker.html#_security_note | ||
xpack.security.enabled: false | ||
|
||
discovery.type: single-node | ||
|
||
network.host: 0.0.0.0 | ||
network.bind_host: 0.0.0.0 | ||
network.publish_host: 0.0.0.0 | ||
|
||
http.cors.enabled: true | ||
http.cors.allow-origin: "/.*/" |
This file was deleted.
Oops, something went wrong.