Hi,
Do you see any logs when SonarQube is starting ?
An other option is also to use environment var for the container configuration (similar to your postgres)
environment:
...
LDAP_BINDDN: cn=admin,dc=mydomain,dc=com,dc=cn
LDAP:BINDPASSWORD: .....
...