Skip to content

Commit

Permalink
#15 Se expone el puerto 80 para crear el certificado
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroGlezC committed May 16, 2024
1 parent 856f641 commit 40379b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/grafana/provisioning/datasources/datasources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ datasources:
type: prometheus
access: proxy
orgId: 1
url: http://syg-prometheus.cqewdygqded2g4gf.westeurope.azurecontainer.io:9090
url: http://syg-prometheus.cqewdygqded2g4gf.uksouth.azurecontainer.io:9090
basicAuth: false
isDefault: true
editable: true
3 changes: 1 addition & 2 deletions docker/keycloak/keycloak.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Usar la imagen oficial de Keycloak
FROM quay.io/keycloak/keycloak:24.0.1

RUN mkdir -p /opt/keycloak/.well-known/acme-challenge/

# Definir variables de entorno para el administrador de Keycloak
# Para mayor seguridad, estas credenciales se deberían manejar externamente
ENV KEYCLOAK_ADMIN=admin
Expand All @@ -17,6 +15,7 @@ COPY ./imports/realm.json /opt/keycloak/data/import/
# Exponer los puertos necesarios para el tráfico
EXPOSE 8080
EXPOSE 8090
EXPOSE 80

# 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"]
Expand Down

0 comments on commit 40379b6

Please sign in to comment.