testing nginx docker integration

keyword-vs-text-changes
Roberto Rodriguez 2017-06-07 23:51:44 -04:00
parent a103e1ccd4
commit ec7e49b10d
2 changed files with 5 additions and 10 deletions

View File

@ -13,17 +13,12 @@ services:
- ./elasticsearch/docker/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
environment:
ES_JAVA_OPTS: "-Xmx256m -Xms256m"
ports:
- "9200:9200"
- "9300:9300"
networks:
- helk
kibana:
image: docker.elastic.co/kibana/kibana:5.4.1
volumes:
- ./kibana/docker/kibana.yml:/usr/share/config/kibana/kibana.yml
ports:
- "5601:5601"
depends_on:
- elasticsearch
networks:
@ -44,8 +39,8 @@ services:
nginx:
image: nginx:latest
volumes:
- ./nginx/docker/default:/etc/nginx/sites-available/default
- ./nginx/docker/htpasswd.users:/etc/nginx/htpasswd.users
- ./nginx/docker/nginx.conf:/usr/share/nginx/conf/nginx.conf
- ./nginx/docker/htpasswd.users:/usr/share/nginx/htpasswd.users
ports:
- "80:80"
depends_on:

View File

@ -1,10 +1,10 @@
server {
listen 80;
server_name HELK;
server_name localhost;
auth_basic "Restricted Access";
auth_basic_user_file /etc/nginx/htpasswd.users;
auth_basic_user_file /usr/share/nginx/htpasswd.users;
location / {
proxy_pass http://localhost:5601;