Merge env variables for standard locations

This commit is contained in:
Alexey Pustovalov 2024-12-26 15:53:15 +09:00
parent e23918cf57
commit 829441dd0c
3 changed files with 6 additions and 0 deletions

View File

@ -481,6 +481,7 @@ services:
- ${DATA_DIRECTORY}/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
- ${DATA_DIRECTORY}/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
- ${DATA_DIRECTORY}/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
- ${DATA_DIRECTORY}/var/lib/zabbix/user_scripts:/var/lib/zabbix/user_scripts:ro
tmpfs: /tmp
deploy:
resources:
@ -531,6 +532,7 @@ services:
- ${DATA_DIRECTORY}/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
- ${DATA_DIRECTORY}/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
- ${DATA_DIRECTORY}/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
- ${DATA_DIRECTORY}/var/lib/zabbix/user_scripts:/var/lib/zabbix/user_scripts:ro
tmpfs: /tmp
deploy:
resources:

View File

@ -33,3 +33,5 @@ UnsafeUserParameters=${ZBX_UNSAFEUSERPARAMETERS}
# Mandatory: no
# Default:
# UserParameterDir=
UserParameterDir=${ZBX_USERPARAMETERDIR}

View File

@ -33,3 +33,5 @@ UnsafeUserParameters=${ZBX_UNSAFEUSERPARAMETERS}
# Mandatory: no
# Default:
# UserParameterDir=
UserParameterDir=${ZBX_USERPARAMETERDIR}