Adding Nginx container

* Setting Nginx with SSL and basic auth, closes #20
* Set Content-Type on Kibana API config.
This commit is contained in:
Miguelangel Freitas
2017-09-24 14:08:02 -04:00
parent a70c127228
commit 160bf4bbe9
3 changed files with 70 additions and 3 deletions
+20 -2
View File
@@ -53,8 +53,8 @@ services:
image: wazuh/wazuh-kibana
hostname: kibana
restart: always
ports:
- "5601:5601"
# ports:
# - "5601:5601"
networks:
- docker_elk
depends_on:
@@ -65,6 +65,24 @@ services:
entrypoint: sh wait-for-it.sh elasticsearch
# environment:
# - "WAZUH_KIBANA_PLUGIN_URL=http://your.repo/wazuhapp-2.1.0-5.5.1.zip"
nginx:
image: nginx:latest
hostname: nginx
restart: always
command: bash /configure.sh
volumes:
- ./nginx/configure.sh:/configure.sh
environment:
- NGINX_PORT=443
ports:
- "80:80"
- "443:443"
networks:
- docker_elk
depends_on:
- kibana
links:
- kibana
networks:
docker_elk: