forked from wazuh/wazuh-docker
feat: Added traefik config
This commit is contained in:
@@ -72,8 +72,8 @@ services:
|
|||||||
image: wazuh/wazuh-dashboard:4.14.7
|
image: wazuh/wazuh-dashboard:4.14.7
|
||||||
hostname: wazuh.dashboard
|
hostname: wazuh.dashboard
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
#ports:
|
||||||
- 443:5601
|
# - 443:5601
|
||||||
environment:
|
environment:
|
||||||
- INDEXER_USERNAME=admin
|
- INDEXER_USERNAME=admin
|
||||||
- INDEXER_PASSWORD=SecretPassword
|
- INDEXER_PASSWORD=SecretPassword
|
||||||
@@ -95,6 +95,12 @@ services:
|
|||||||
links:
|
links:
|
||||||
- wazuh.indexer:wazuh.indexer
|
- wazuh.indexer:wazuh.indexer
|
||||||
- wazuh.manager:wazuh.manager
|
- wazuh.manager:wazuh.manager
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.routers.wazuh-dashboard.rule=Host(`wazuh.fuusenkazura.io`)
|
||||||
|
- traefik.http.routers.wazuh-dashboard.entrypoints=websecure
|
||||||
|
- traefik.http.routers.wazuh-dashboard.tls.certresolver=ovh
|
||||||
|
- traefik.http.services.wazuh-dashboard.loadbalancer.server.port=5601
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
wazuh_api_configuration:
|
wazuh_api_configuration:
|
||||||
|
|||||||
Reference in New Issue
Block a user