Member-only story
How to deploy keycloak in Azure App Services in Docker
If you’re a non-premium user, click here to read this article for free. If not, continue reading.
Go to Create Web app — AppServices in Azure Portal Create Web App — Microsoft Azure
Enter basic details and mention as docker deployment. Then you will see image and tag name need as input. Enter “jboss/keycloak” . One of the easiest image to do configuration.
Once done, docker will start in nearly 20–30 minutes as usual deployment. For status you can check logs in portal.
When you open the link as shown in image above, you can see open local host to set admin password.
Error Case 1 :
Mixed Content: The page at 'https://keycloakq.azurewebsites.net/auth/admin/master/console/' was loaded over HTTPS,
but requested an insecure script 'http://keycloakq.azurewebsites.net/auth/js/keycloak.js?version=2tuci'.
This request has been blocked; the content must be served over HTTPS.
You may see the above error in console while setting up keycloak. To fix this you can specify it also with environment variable PROXY_ADDRESS_FORWARDING: 'true'