# Certificate configuration for the Wazuh 5.0 single-node Docker stack.
#
# Reproduced from the Wazuh 5.0 Docker deployment documentation:
# https://documentation.wazuh.com/5.0-beta/deployment-options/docker/wazuh-container.html
#
# Place this file in wazuh-docker/single-node/ and then run:
#   bash ../tools/utils/deployment/certificates-conf.sh --cert --copy --priv
#
# The names below must match the `hostname` values in docker-compose.yml.
# The indexer validates certificate common names against them, so renaming a
# service means regenerating the certificates.

nodes:
  # Wazuh indexer server nodes
  indexer:
    - name: wazuh.indexer
      dns: "wazuh.indexer"

  # Wazuh manager nodes
  # Use node_type only with more than one Wazuh manager
  manager:
    - name: wazuh.manager
      dns: "wazuh.manager"

  # Wazuh dashboard node
  dashboard:
    - name: wazuh.dashboard
      dns: "wazuh.dashboard"
