https://github.com/owncloud-ops/keycloak
Custom container image for Keycloak
https://github.com/owncloud-ops/keycloak
container keycloak oci
Last synced: 4 months ago
JSON representation
Custom container image for Keycloak
- Host: GitHub
- URL: https://github.com/owncloud-ops/keycloak
- Owner: owncloud-ops
- License: apache-2.0
- Created: 2022-03-15T14:56:59.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2026-03-05T17:32:40.000Z (5 months ago)
- Last Synced: 2026-03-05T20:18:37.521Z (5 months ago)
- Topics: container, keycloak, oci
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/owncloudops/keycloak
- Size: 86.9 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# keycloak
[](https://drone.owncloud.com/owncloud-ops/keycloak/)
[](https://hub.docker.com/r/owncloudops/keycloak)
[](https://quay.io/repository/owncloudops/keycloak)
Custom container image for [Keycloak](https://www.keycloak.org/). For more details about optimized container images, see the Keycloak [documentation](https://www.keycloak.org/server/containers). The embedded healthcheck script is disabled by default and only works on an HTTP port.
## Ports
- 8080
- 8443
## Build Environment
```Shell
KC_DB=mariadb
KC_HEALTH_ENABLED=true
KC_METRICS_ENABLED=true
# If this value is changed, the health check script must also be adjusted.
KC_HTTP_RELATIVE_PATH=/auth
# If set and the specified file does not exist when the container is started,
# a new keystore for https certificates is automatically generated.
KC_HTTPS_KEY_STORE_FILE=
# Infinispan cache configuration. Note: The default local cache configuration
# from `cache-ispn-local.xml` only works on single node setups!
KC_CACHE=ispn
KC_CACHE_CONFIG_FILE=cache-ispn-local.xml
KC_TRANSACTION_XA_ENABLED=true
QUARKUS_TRANSACTION_MANAGER_ENABLE_RECOVERY=true
```
## Custom Providers
- [sventorben/keycloak-restrict-client-auth](https://github.com/sventorben/keycloak-restrict-client-auth)
## Build
```Shell
docker build -f Dockerfile -t keycloak:latest .
```
## License
This project is licensed under the Apache 2.0 License - see the [LICENSE](https://github.com/owncloud-ops/keycloak/blob/main/LICENSE) file for details.