diff --git a/compose_zabbix_components.yaml b/compose_zabbix_components.yaml index c611666eb..2a7889f63 100644 --- a/compose_zabbix_components.yaml +++ b/compose_zabbix_components.yaml @@ -13,7 +13,6 @@ services: - /etc/localtime:/etc/localtime:ro - ${DATA_DIRECTORY}/usr/lib/zabbix/alertscripts:/usr/lib/zabbix/alertscripts:ro - ${DATA_DIRECTORY}/usr/lib/zabbix/externalscripts:/usr/lib/zabbix/externalscripts:ro - - ${DATA_DIRECTORY}/var/lib/zabbix/dbscripts:/var/lib/zabbix/dbscripts:ro - ${DATA_DIRECTORY}/var/lib/zabbix/export:/var/lib/zabbix/export:rw - ${DATA_DIRECTORY}/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro - ${DATA_DIRECTORY}/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro @@ -92,7 +91,8 @@ services: server-pgsql-db-init: init: true attach: true -# volumes: + volumes: + - ${DATA_DIRECTORY}/var/lib/zabbix/dbscripts:/var/lib/zabbix/dbscripts:ro # - ${ENV_VARS_DIRECTORY}/.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro # - ${ENV_VARS_DIRECTORY}/.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro # - ${ENV_VARS_DIRECTORY}/.ZBX_DB_KEY_FILE:/run/secrets/client-key.pem:ro