zabbix/zabbix-docker

Why the Postgres Compose file also installs mysql?

Apollon77 opened this issue · 10 comments

SUMMARY

I used docker compose -f docker-compose_v3_alpine_pgsql_latest.yaml up to install with pgsql version and then he downloaded also mysql-server docker image and also started it.

Why?

Yes the compose file contains it ... but should it not be postgres only?

OS / ENVIRONMENT / Used docker-compose files

ubuntu LXC container with docker in it
File: docker-compose_v3_alpine_pgsql_latest.yaml

CONFIGURATION

nothing

PS: Also strange is that the zabbix_agent which is also defined in the docker file is not started

你可以参考这个docker-compose配置
https://github.com/NoYoWiFi/zabbix_docker

sh update_config-entrypoint_pgsql.sh init
sh update_config-entrypoint_pgsql.sh down
sh update_config-entrypoint_pgsql.sh cp
sh update_config-entrypoint_pgsql.sh start

i have no idea but the very same issue.

the compose file is just an example. It contains all Zabbix components, including Zabbix proxy with MySQL DB. You can manage what exactly you want to use and remove unnecessary components.

@dotneft Ok, honestly ... then this should be stated very clear in the Readme. With that structure of different files for different "os/db combinations" it clearly lets assue that such a file is exactly for this combination.