Sonarqube docker-compose disable ssl certificate

Hello everyone,
I have an issue, after setting up a docker-compose with gitlab and sonarqube, when I try to connect the 2 sonar gives my an error, saying “the request cannot be processed. try again later”, I suppose that is becouse I do NOT have a valid ssl certificate on gitlab.
How can I configure the docker-compose for sonarqube to ignore the ssl certificate?