You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current logic in docker-entrypoint.sh to build ROUNDCUBEMAIL_DSNW will always add ":portnumber" to the string. This doesn't work when the "host" is actually a Unix domain socket specification of the form "unix(/var/bla/sockets)", as the resulting connection string is invalid.
My current workaround is to add an overriding configuration PHP file that redefines $config['db_dsnw']. Works, but it's a bit of a hack.
Suggestion: don't add the colon + port number unless one is explicitly passed in. The default should be fine in most cases anyway. Of course, wait_for_it.sh can't be used the same way then.
The text was updated successfully, but these errors were encountered:
The current logic in docker-entrypoint.sh to build ROUNDCUBEMAIL_DSNW will always add ":portnumber" to the string. This doesn't work when the "host" is actually a Unix domain socket specification of the form "unix(/var/bla/sockets)", as the resulting connection string is invalid.
My current workaround is to add an overriding configuration PHP file that redefines $config['db_dsnw']. Works, but it's a bit of a hack.
Suggestion: don't add the colon + port number unless one is explicitly passed in. The default should be fine in most cases anyway. Of course, wait_for_it.sh can't be used the same way then.
The text was updated successfully, but these errors were encountered: