diff --git a/docker/keycloak/keycloak.Dockerfile b/docker/keycloak/keycloak.Dockerfile index 2288129..0758f62 100644 --- a/docker/keycloak/keycloak.Dockerfile +++ b/docker/keycloak/keycloak.Dockerfile @@ -7,7 +7,7 @@ ENV KEYCLOAK_ADMIN=admin ENV KEYCLOAK_ADMIN_PASSWORD=admin # Copiar archivos de certificado y clave privada -# COPY ./certs /opt/keycloak/certs +COPY ./certs /opt/keycloak/certs # Copiar el archivo de importaciĆ³n del realm al directorio de importaciĆ³n COPY ./imports/realm.json /opt/keycloak/data/import/ @@ -17,5 +17,4 @@ EXPOSE 8090 # Comando para iniciar Keycloak en modo de desarrollo con puerto y otros argumentos -CMD ["start-dev", "--import-realm", "--http-port=8090", "--hostname-url=http://syg-keycloak.hdg5fghpcef7a8a2.westeurope.azurecontainer.io:8090"] -# CMD ["start", "--import-realm", "--http-port=8100", "--https-port=8090", "--hostname-url=https://syg-keycloak.hdg5fghpcef7a8a2.westeurope.azurecontainer.io:8090", "--https-certificate-file=/opt/keycloak/certs/keycloakcert.pem", "--https-certificate-key-file=/opt/keycloak/certs/keycloakkey.pem"] +CMD ["start", "--import-realm", "--http-port=8100", "--https-port=8090", "--hostname-url=https://syg-keycloak.hdg5fghpcef7a8a2.westeurope.azurecontainer.io:8090", "--https-certificate-file=/opt/keycloak/certs/keycloakcert.pem", "--https-certificate-key-file=/opt/keycloak/certs/keycloakkey.pem"]