Redeploying Wazuh.
This commit is contained in:
+13
-20
@@ -6739,27 +6739,27 @@ services:
|
|||||||
target: 5601
|
target: 5601
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
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
|
target: /usr/share/wazuh-dashboard/certs/wazuh-dashboard.pem
|
||||||
type: bind
|
type: bind
|
||||||
bind:
|
bind:
|
||||||
create_host_path: true
|
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
|
target: /usr/share/wazuh-dashboard/certs/wazuh-dashboard-key.pem
|
||||||
type: bind
|
type: bind
|
||||||
bind:
|
bind:
|
||||||
create_host_path: true
|
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
|
target: /usr/share/wazuh-dashboard/certs/root-ca.pem
|
||||||
type: bind
|
type: bind
|
||||||
bind:
|
bind:
|
||||||
create_host_path: true
|
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
|
target: /usr/share/wazuh-dashboard/config/opensearch_dashboards.yml
|
||||||
type: bind
|
type: bind
|
||||||
bind:
|
bind:
|
||||||
create_host_path: true
|
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
|
target: /usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml
|
||||||
type: bind
|
type: bind
|
||||||
bind:
|
bind:
|
||||||
@@ -6772,13 +6772,6 @@ services:
|
|||||||
target: /usr/share/wazuh-dashboard/plugins/wazuh/public/assets/custom
|
target: /usr/share/wazuh-dashboard/plugins/wazuh/public/assets/custom
|
||||||
type: volume
|
type: volume
|
||||||
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:
|
wazuh.indexer:
|
||||||
container_name: wazuh.indexer
|
container_name: wazuh.indexer
|
||||||
environment:
|
environment:
|
||||||
@@ -6805,27 +6798,27 @@ services:
|
|||||||
target: /var/lib/wazuh-indexer
|
target: /var/lib/wazuh-indexer
|
||||||
type: volume
|
type: volume
|
||||||
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
|
target: /usr/share/wazuh-indexer/certs/root-ca.pem
|
||||||
type: bind
|
type: bind
|
||||||
bind:
|
bind:
|
||||||
create_host_path: true
|
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
|
target: /usr/share/wazuh-indexer/certs/wazuh.indexer.key
|
||||||
type: bind
|
type: bind
|
||||||
bind:
|
bind:
|
||||||
create_host_path: true
|
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
|
target: /usr/share/wazuh-indexer/certs/wazuh.indexer.pem
|
||||||
type: bind
|
type: bind
|
||||||
bind:
|
bind:
|
||||||
create_host_path: true
|
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
|
target: /usr/share/wazuh-indexer/certs/admin.pem
|
||||||
type: bind
|
type: bind
|
||||||
bind:
|
bind:
|
||||||
create_host_path: true
|
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
|
target: /usr/share/wazuh-indexer/certs/admin-key.pem
|
||||||
type: bind
|
type: bind
|
||||||
bind:
|
bind:
|
||||||
@@ -6926,17 +6919,17 @@ services:
|
|||||||
target: /var/lib/filebeat
|
target: /var/lib/filebeat
|
||||||
type: volume
|
type: volume
|
||||||
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
|
target: /etc/ssl/root-ca.pem
|
||||||
type: bind
|
type: bind
|
||||||
bind:
|
bind:
|
||||||
create_host_path: true
|
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
|
target: /etc/ssl/filebeat.pem
|
||||||
type: bind
|
type: bind
|
||||||
bind:
|
bind:
|
||||||
create_host_path: true
|
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
|
target: /etc/ssl/filebeat.key
|
||||||
type: bind
|
type: bind
|
||||||
bind:
|
bind:
|
||||||
|
|||||||
Reference in New Issue
Block a user