skip to Main Content

Cannot start keycloak in docker with letsencrypt certificates

I can run Keycloak with the following command ./bin/kc.sh start-dev --https-certificate-file=/etc/letsencrypt/live/$HOSTNAME/cert.pem --https-certificate-key-file=/etc/letsencrypt/live/$HOSTNAME/privkey.pem --hostname=$HOSTNAME Works as expected On the same computer, I try to run using Docker docker run -p 80:8080 -p 443:8443 -v /etc/letsencrypt:/etc/letsencrypt:ro -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=change_me -e JAVA_OPTS_APPEND="$JAVA_OPTS_APPEND"…

VIEW QUESTION

Postgresql – Keycloak Postgres docker connection failure

I am trying to get up the keycloak instance via using keycloak, and the compose file I used is below which I get it from https://github.com/keycloak/keycloak-containers/blob/main/docker-compose-examples/keycloak-postgres.yml # keycloak dependencies postgres-keycloak: image: postgres volumes: - postgres_data:/var/lib/postgresql/data environment: POSTGRES_DB: keycloak POSTGRES_USER: keycloak…

VIEW QUESTION
Back To Top
Search