[keycloak-user] ports confusion

Tim Dudgeon tdudgeon.ml at gmail.com
Sat Sep 26 05:04:20 EDT 2015


I'm having problems getting keycloak running on AWS using the docker 
files on docker hub.
I'm using this docker compose configuration:

postgres:
     image: postgres
     ports:
     - "5432:5432"
     environment:
     - POSTGRES_DATABASE=keycloak
     - POSTGRES_USER=keycloak
     - POSTGRES_PASSWORD=keycloak

keycloak:
     image: jboss/keycloak-postgres
     ports:
     - "8080:8080"
     links:
     - postgres:postgres
     environment:
     - POSTGRES_DATABASE=keycloak
     - POSTGRES_USER=keycloak
     - POSTGRES_PASSWORD=keycloak

This works fine when I'm running on a local machine, but when I run on 
AWS I can get a response from the default http://<host>:8080/ address 
but when I try to connect to the Admin console it give error saying 
HTTPS is required.
Probably some required port is not open but I'm not sure what.
What is strange is that the dockerfile for the base keycloak image 
(https://hub.docker.com/r/jboss/keycloak/~/dockerfile/) shows that only 
port 8080 is exposed, not any ports for SSL.

Any suggestions for what's going on here?

Tim







More information about the keycloak-user mailing list