[keycloak-user] Docker compose change port

Gonzalo Ferreyra Jofré gonzalofj at gmail.com
Thu Apr 25 07:27:00 EDT 2019


Hi guys,

I've been using keycloak for a while now but lately I've been trying to
change the HTTP PORT to XXXX through my docker-compose without success. The
server is always started on port 8080.

My docker-compose file looks something like this. Am I doing something
wrong?

version: '3'
services:
  keycloak:
    image: jboss/keycloak:6.0.1
    environment:
     KEYCLOAK_USER: admin
     KEYCLOAK_PASSWORD: admin
     *KEYCLOAK_HTTP_PORT*: 8888
     KEYCLOAK_LOGLEVEL: DEBUG
    ports:
      - "8777:8888"

Thank you,
Gonzalo


More information about the keycloak-user mailing list