Below is the command I use to run the keycloak. At the moment, I have an instance and a load balancer with certificates for the domain on Google Cloud.
Is it necessary to install nginx before keycloak to proxy keycloak? And what is wrong with my configuration? (recently started to deal with keycloak)
e.g command for run keycloak:
docker run -d --name keycloak -p 8443:8443 -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=secret -e KC_DB=postgres -e KC_DB_URL=“jdbc:postgresql://my_ip/my_gcp_db_name” -e KC_DB_USERNAME=db_name -e KC_DB_PASSWORD=db_pass -e KEYCLOAK_ADMIN_HOSTNAME_EXTERNAL=true -e KC_HTTPS_CERTIFICATE_FILE=/certs/server.crt.pem -e KC_HTTPS_CERTIFICATE_KEY_FILE=/certs/server.key.pem -e KC_HTTPS_PROTOCOLS=TLSv1.3,TLSv1.2 -e KC_HOSTNAME=mydomain.test.com -e KC_HOSTNAME_STRICT_BACKCHANNEL=true -e KC_HOSTNAME_STRICT_HTTPS=true -v /home/certs:/certs Quay start