Skip to content

Commit

Permalink
#15 Se guardan certificados autofirmados con keycloak
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroGlezC committed May 16, 2024
1 parent f6365f7 commit 766413c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/keycloak/keycloak.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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"]

0 comments on commit 766413c

Please sign in to comment.