fix(wazuh): persist agent groups between restarts
Some checks failed
Test / test (push) Has been cancelled
Some checks failed
Test / test (push) Has been cancelled
Add manager-shared volume to mount /var/ossec/etc/shared for Wazuh manager, ensuring agent groups are persisted across container restarts. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -40,6 +40,10 @@
|
||||
"hostPath": "${APP_DATA_DIR}/data/manager-queue",
|
||||
"containerPath": "/manager-queue"
|
||||
},
|
||||
{
|
||||
"hostPath": "${APP_DATA_DIR}/data/manager-shared",
|
||||
"containerPath": "/manager-shared"
|
||||
},
|
||||
{
|
||||
"hostPath": "${APP_DATA_DIR}/data/dashboard-config",
|
||||
"containerPath": "/dashboard-config"
|
||||
@@ -329,6 +333,10 @@
|
||||
"hostPath": "${APP_DATA_DIR}/data/config/wazuh_ssl_certs",
|
||||
"containerPath": "/var/ossec/etc/certs"
|
||||
},
|
||||
{
|
||||
"hostPath": "${APP_DATA_DIR}/data/manager-shared",
|
||||
"containerPath": "/var/ossec/etc/shared"
|
||||
},
|
||||
{
|
||||
"hostPath": "${APP_DATA_DIR}/data/scripts",
|
||||
"containerPath": "/scripts"
|
||||
|
||||
Reference in New Issue
Block a user