$ docker run -d --name elstack -e SSL=true -p 80:80 -p 443:443 -p 9200:9200 blacktop/elastic-stack
This will generate a self-signed cert if none is supplied
It will also set a basic auth user/pass ofadmin/admin
if none are supplied.
- With Docker for Mac :
https://localhost
- With docker-machine :
https://$(docker-machine ip)
- With docker-engine :
https://$(docker inspect -f '{{ .NetworkSettings.IPAddress }}' elstack)
$ docker run -d --name elstack \
-p 80:80 \
-p 443:443 \
-p 9200:9200 \
-e SSL=true \
-e ELSK_DOMAIN="elk.blacktop.io" \
blacktop/elastic-stack
NOTE: the
ELSK_DOMAIN
defaults tolocalhost
Create certs with the following names
kibana.key
kibana.crt
$ docker run -d --name elstack \
-p 80:80 \
-p 443:443 \
-p 9200:9200 \
-e SSL=true \
-v /path/to/kibana/certs:/etc/nginx/ssl:ro \
blacktop/elastic-stack
NOTE: It will also set a basic auth user/pass of
admin/admin
if none are supplied.
See here