forked from wazuh/wazuh-docker
Adding Nginx container
* Setting Nginx with SSL and basic auth, closes #20 * Set Content-Type on Kibana API config.
This commit is contained in:
+20
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user