From 8fb7110af5f76b91caf78175625a98b80593fa45 Mon Sep 17 00:00:00 2001 From: Manuel Gutierrez <1380243+xr09@users.noreply.github.com> Date: Fri, 28 Aug 2020 14:37:21 +0200 Subject: [PATCH] Enable SSL on Kibana by default Nginx container was disabled but left commented as an example --- docker-compose.yml | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index fa2690cc..3e17716e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -52,28 +52,34 @@ services: image: wazuh-kibana-opendistro hostname: kibana restart: always + ports: + - 443:5601 environment: - ELASTICSEARCH_USERNAME=admin - ELASTICSEARCH_PASSWORD=admin + - SERVER_SSL_ENABLED=true + - SERVER_SSL_CERTIFICATE=/usr/share/kibana/config/opendistroforelasticsearch.example.org.cert + - SERVER_SSL_KEY=/usr/share/kibana/config/opendistroforelasticsearch.example.org.key + depends_on: - elasticsearch links: - elasticsearch:elasticsearch - wazuh:wazuh - nginx: - image: nginx:stable - hostname: nginx - restart: always - ports: - - "80:80" - - "443:443" - depends_on: - - kibana - links: - - kibana:kibana - volumes: - - ./nginx_conf:/etc/nginx/conf.d:ro + # nginx: + # image: nginx:stable + # hostname: nginx + # restart: always + # ports: + # - "80:80" + # - "443:443" + # depends_on: + # - kibana + # links: + # - kibana:kibana + # volumes: + # - ./nginx_conf:/etc/nginx/conf.d:ro volumes: ossec_api_configuration: