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 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: