Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2e79bebcc4 | |||
| 9ca2f652d3 | |||
| 9a26ddc52e | |||
| 47001d0b27 | |||
| 1f1e16f471 | |||
| 772c3a10ea | |||
| b03c2fb16e | |||
| 2acd511608 | |||
| ef21de6739 | |||
| e217fc48f1 | |||
| 5d87422fa3 | |||
| 596fd929fa | |||
| 06bdb924a1 | |||
| 8fc700fd85 |
@@ -1,2 +1,2 @@
|
||||
FROM blacktop/elastic-stack:latest
|
||||
COPY ./ssl.kibana.conf /etc/nginx/conf.d/
|
||||
COPY ./nginx.conf /etc/nginx/conf.d/kibana.conf
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
server {
|
||||
listen [::]:3000;
|
||||
listen 3000;
|
||||
|
||||
server_name _;
|
||||
|
||||
auth_basic "Restricted Access";
|
||||
auth_basic_user_file /etc/nginx/htpasswd.users;
|
||||
listen [::]:3000 default_server;
|
||||
listen *:3000 default_server;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5601;
|
||||
@@ -18,13 +13,8 @@ server {
|
||||
}
|
||||
|
||||
server {
|
||||
listen [::]:9201;
|
||||
listen 9201;
|
||||
|
||||
server_name _;
|
||||
|
||||
auth_basic "Restricted Access";
|
||||
auth_basic_user_file /etc/nginx/htpasswd.users;
|
||||
listen [::]:3001 default_server;
|
||||
listen *:3001 default_server;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:9200;
|
||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "ht-docker-elk",
|
||||
"version": "1.0.9",
|
||||
"version": "1.0.16",
|
||||
"lockfileVersion": 1
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ht-docker-elk",
|
||||
"version": "1.0.9",
|
||||
"version": "1.0.16",
|
||||
"description": "elastic stack with full basic authentication",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -21,7 +21,7 @@ elastic stack with full basic authentication
|
||||
This image runs the elastic stack and supports full basic authentication
|
||||
|
||||
```
|
||||
docker run -d --name elstack -p 80:80 -p 443:443 -p 9200:9201 -e SSL=true -e ELSK_USER="anyuser" -e ELSK_PASS="anypass" hosttoday/ht-docker-elk
|
||||
docker run --rm -d --name elstack -p 3000:3000 -p 9200:9201 -e SSL=true -e ELSK_USER="anyuser" -e ELSK_PASS="anypass" registry.gitlab.com/hosttoday/ht-docker-elk
|
||||
```
|
||||
|
||||
## Contribute
|
||||
|
||||
Reference in New Issue
Block a user