Skip to content

Commit

Permalink
#15 Cambios en los certificados
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroGlezC committed May 16, 2024
1 parent 3abd966 commit 0c1bf7b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 48 deletions.
17 changes: 0 additions & 17 deletions docker/keycloak/certs/keycloakcert3.pem

This file was deleted.

28 changes: 0 additions & 28 deletions docker/keycloak/certs/keycloakkey3.pem

This file was deleted.

6 changes: 3 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,5 @@ EXPOSE 8080
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-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"]

0 comments on commit 0c1bf7b

Please sign in to comment.