Created
December 8, 2022 16:54
-
-
Save alkampfergit/919332123731ed0f7b2586be31a674b0 to your computer and use it in GitHub Desktop.
Keycloak on docker with TLS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
keycloak: | |
image: jboss/keycloak:latest | |
container_name: keycloak_tls | |
restart: always | |
ports: | |
# - 8080:8080 | |
- 127.1.0.1:443:8443 | |
volumes: | |
- C:\develop\Docker\keycloak\localdata\:/opt/jboss/keycloak/standalone/data | |
- C:\develop\certificates\keycloak.codewrecks.com\cert.pem:/etc/x509/https/tls.crt | |
- C:\develop\certificates\keycloak.codewrecks.com\privkey.pem:/etc/x509/https/tls.key | |
environment: | |
- KEYCLOAK_USER=admin | |
- KEYCLOAK_PASSWORD=xxxxxxxxxxxx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, when i try to run it with ssl certificate, i get an error. May I know why?