Assumiing that /etc/zabbix/zabbix_server.conf in my Zabbix server Docker container contains the configuration used by the server, I can change the Timeout parameter and save it. However, after restarting my container, the changes are lost. Am I doing this the wrong way?
Ad Widget
Collapse
Zabbix server configuation in Docker container is overwritten
Collapse
X
-
You're not supposed to touch the zabbix_server.conf file. This file is overridden by variables in your environment configuration
I don't know which zabbix image you're using but they all work the same way
Read the README again on zabbix-appliance for example
Here's an example docker-compose file which sets HistoryCacheSize
Code:version: '3.1' services: zabbix: image: zabbix/zabbix-appliance container_name: zabbix environment: - ZBX_HISTORYCACHESIZE=32M volumes: - zabbix_mysql:/var/lib/mysql ports: - 80:80 - 10051:10051 restart: always
Comment