mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-10-23 04:51:57 +00:00
Enable SSL on Kibana by default
Nginx container was disabled but left commented as an example
This commit is contained in:
@@ -52,28 +52,34 @@ services:
|
|||||||
image: wazuh-kibana-opendistro
|
image: wazuh-kibana-opendistro
|
||||||
hostname: kibana
|
hostname: kibana
|
||||||
restart: always
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 443:5601
|
||||||
environment:
|
environment:
|
||||||
- ELASTICSEARCH_USERNAME=admin
|
- ELASTICSEARCH_USERNAME=admin
|
||||||
- ELASTICSEARCH_PASSWORD=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:
|
depends_on:
|
||||||
- elasticsearch
|
- elasticsearch
|
||||||
links:
|
links:
|
||||||
- elasticsearch:elasticsearch
|
- elasticsearch:elasticsearch
|
||||||
- wazuh:wazuh
|
- wazuh:wazuh
|
||||||
|
|
||||||
nginx:
|
# nginx:
|
||||||
image: nginx:stable
|
# image: nginx:stable
|
||||||
hostname: nginx
|
# hostname: nginx
|
||||||
restart: always
|
# restart: always
|
||||||
ports:
|
# ports:
|
||||||
- "80:80"
|
# - "80:80"
|
||||||
- "443:443"
|
# - "443:443"
|
||||||
depends_on:
|
# depends_on:
|
||||||
- kibana
|
# - kibana
|
||||||
links:
|
# links:
|
||||||
- kibana:kibana
|
# - kibana:kibana
|
||||||
volumes:
|
# volumes:
|
||||||
- ./nginx_conf:/etc/nginx/conf.d:ro
|
# - ./nginx_conf:/etc/nginx/conf.d:ro
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
ossec_api_configuration:
|
ossec_api_configuration:
|
||||||
|
Reference in New Issue
Block a user