Last active
December 20, 2016 07:44
-
-
Save arypurnomoz/8d24155f024f8d4b6bee6b053c6e47d9 to your computer and use it in GitHub Desktop.
running es 5.0.0 on docker workaround
This file contains hidden or 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
apt-get update && apt-get install -y nginx; | |
echo ' | |
user www-data; | |
worker_processes 4; | |
pid /run/nginx.pid; | |
events { | |
worker_connections 768; | |
} | |
http { | |
server { | |
listen 9200; | |
location / { | |
proxy_pass http://127.0.0.1:9201; | |
} | |
} | |
} | |
' > /etc/nginx/nginx.conf; | |
nginx; | |
exec gosu elasticsearch elasticsearch -E network.host=localhost -E http.port=9201; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment