Skip to content

Commit

Permalink
Merge env variables for standard locations
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneft committed Dec 26, 2024
1 parent a950f48 commit e83f3e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compose_zabbix_components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions config_templates/agent/zabbix_agentd_user_parameters.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ UnsafeUserParameters=${ZBX_UNSAFEUSERPARAMETERS}
# Mandatory: no
# Default:
# UserParameterDir=

UserParameterDir=${ZBX_USERPARAMETERDIR}
2 changes: 2 additions & 0 deletions config_templates/agent2/zabbix_agent2_user_parameters.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ UnsafeUserParameters=${ZBX_UNSAFEUSERPARAMETERS}
# Mandatory: no
# Default:
# UserParameterDir=

UserParameterDir=${ZBX_USERPARAMETERDIR}

0 comments on commit e83f3e0

Please sign in to comment.