feat: Added traefik config

This commit is contained in:
2026-08-07 23:40:22 +02:00
parent d860eec985
commit dd1cc9f5fc
+8 -2
View File
@@ -72,8 +72,8 @@ services:
image: wazuh/wazuh-dashboard:4.14.7
hostname: wazuh.dashboard
restart: always
ports:
- 443:5601
#ports:
# - 443:5601
environment:
- INDEXER_USERNAME=admin
- INDEXER_PASSWORD=SecretPassword
@@ -95,6 +95,12 @@ services:
links:
- wazuh.indexer:wazuh.indexer
- 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:
wazuh_api_configuration: