zabbix / zabbix-docker

Official Zabbix Dockerfiles
https://www.zabbix.com
GNU Affero General Public License v3.0
2.4k stars 1.38k forks source link

zabbix-docker return error run docker compose for the first time #1494

Closed dpsw1203 closed 3 months ago

dpsw1203 commented 3 months ago

hello everyone, i got some problem first time installation running docker compose for zabbix-docker i just run it without edit anything but returned with error below.

docker compose -f docker-compose_v3_alpine_pgsql_latest.yaml up -d 1 error(s) decoding:

'* 'env_file[1]' expected type 'string', got unconvertible type 'map[string]interface {}', value: 'map[path:./env_vars/.env_snmptraps_override required:false]'

Please help, thanks

dotneft commented 3 months ago

Hello! What docker compose version do you use?

dpsw1203 commented 3 months ago

I'm running Docker Compose version v2.21.0

dotneft commented 3 months ago

Update it, please.

dpsw1203 commented 3 months ago

Oh yes after upgraded it to Docker Compose version v2.29.1 no error appear, thank you very much.