zabbix-web-nginx-pgsql-1 | **** PostgreSQL server is not available. Waiting 5 seconds...
zabbix-web-nginx-pgsql-1 | **** PostgreSQL server is not available. Waiting 5 seconds...
zabbix-web-nginx-pgsql-1 | **** PostgreSQL server is not available. Waiting 5 seconds...
zabbix-web-nginx-pgsql-1 | **** PostgreSQL server is not available. Waiting 5 seconds...
zabbix-web-nginx-pgsql-1 | **** PostgreSQL server is not available. Waiting 5 seconds...
zabbix-web-nginx-pgsql-1 | **** PostgreSQL server is not available. Waiting 5 seconds...
zabbix-web-nginx-pgsql-1 | **** PostgreSQL server is not available. Waiting 5 seconds...
zabbix-web-nginx-pgsql-1 | **** PostgreSQL server is not available. Waiting 5 seconds...
zabbix-web-nginx-pgsql-1 | **** PostgreSQL server is not available. Waiting 5 seconds...
SUMMARY
DB_SERVER_SOCKET=/var/run/postgresql/.s.PGSQL.5432 is ignored by the postgres based web servers (I've searched the source)
OS / ENVIRONMENT / Used docker-compose files
I've jumped into the docker container for nginx, and it definitely is in the environment:
The file also exists:
CONFIGURATION
STEPS TO REPRODUCE
EXPECTED RESULTS
webserver should connect to postgres
ACTUAL RESULTS
zabbix-server-pgsql connects succesfully.