Docker Compose Issue org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set

I cannot have any problem when I run them in locally. I still couldn’t fix the issue in docker-compose.yml
I cannot run some services properly except for keycloak,rabbitmq and lastly config server.