Redeploying Wazuh.

This commit is contained in:
2025-01-30 15:05:04 -05:00
parent f468fb2357
commit a709999a6c
+13 -20
View File
@@ -6739,27 +6739,27 @@ services:
target: 5601
restart: always
volumes:
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/dashboard/certs/wazuh.dashboard.pem
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/generator/certs/wazuh.dashboard.pem
target: /usr/share/wazuh-dashboard/certs/wazuh-dashboard.pem
type: bind
bind:
create_host_path: true
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/dashboard/certs/wazuh.dashboard-key.pem
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/generator/certs/wazuh.dashboard-key.pem
target: /usr/share/wazuh-dashboard/certs/wazuh-dashboard-key.pem
type: bind
bind:
create_host_path: true
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/dashboard/certs/root-ca.pem
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/generator/certs/root-ca.pem
target: /usr/share/wazuh-dashboard/certs/root-ca.pem
type: bind
bind:
create_host_path: true
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/dashboard/config/opensearch_dashboards.yml
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/indexer/config/opensearch_dashboards.yml
target: /usr/share/wazuh-dashboard/config/opensearch_dashboards.yml
type: bind
bind:
create_host_path: true
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/dashboard/config/wazuh.yml
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/indexer/config/wazuh.yml
target: /usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml
type: bind
bind:
@@ -6772,13 +6772,6 @@ services:
target: /usr/share/wazuh-dashboard/plugins/wazuh/public/assets/custom
type: volume
volume: {}
wazuh.generator:
container_name: wazuh.generator
image: wazuh/wazuh-certs-generator:0.0.2
hostname: wazuh-certs-generator
volumes:
- ${DOCKER_VOLUME_CONFIG}/generator/certs/:/certificates/
- ${DOCKER_VOLUME_CONFIG}/generator/config/certs.yml:/config/certs.yml
wazuh.indexer:
container_name: wazuh.indexer
environment:
@@ -6805,27 +6798,27 @@ services:
target: /var/lib/wazuh-indexer
type: volume
volume: {}
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/indexer/certs/root-ca.pem
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/generator/certs/root-ca.pem
target: /usr/share/wazuh-indexer/certs/root-ca.pem
type: bind
bind:
create_host_path: true
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/indexer/certs/wazuh.indexer-key.pem
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/generator/certs/wazuh.indexer-key.pem
target: /usr/share/wazuh-indexer/certs/wazuh.indexer.key
type: bind
bind:
create_host_path: true
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/indexer/certs/wazuh.indexer.pem
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/generator/certs/wazuh.indexer.pem
target: /usr/share/wazuh-indexer/certs/wazuh.indexer.pem
type: bind
bind:
create_host_path: true
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/indexer/certs/admin.pem
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/generator/certs/admin.pem
target: /usr/share/wazuh-indexer/certs/admin.pem
type: bind
bind:
create_host_path: true
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/indexer/certs/admin-key.pem
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/generator/certs/admin-key.pem
target: /usr/share/wazuh-indexer/certs/admin-key.pem
type: bind
bind:
@@ -6926,17 +6919,17 @@ services:
target: /var/lib/filebeat
type: volume
volume: {}
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/manager/certs/root-ca.pem
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/generator/certs/root-ca.pem
target: /etc/ssl/root-ca.pem
type: bind
bind:
create_host_path: true
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/manager/certs/wazuh.manager.pem
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/generator/certs/wazuh.manager.pem
target: /etc/ssl/filebeat.pem
type: bind
bind:
create_host_path: true
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/manager/certs/wazuh.manager-key.pem
- source: ${DOCKER_VOLUME_CONFIG}/wazuh/generator/certs/wazuh.manager-key.pem
target: /etc/ssl/filebeat.key
type: bind
bind: