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
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user