Repository navigation
Replies: 1 comment
|
Since the new way of obtaining the latest docker image of Keycloak is described here https://www.keycloak.org/server/containers at the bottom instead of starting keycloak directly, like they do in the example Do this instead RUN mkdir /opt/keycloak/tools that way a custom entrypoint script will be part of your distro and in that entrtypoint file you can do something like this... if [[ -z "${USING_SECRETS}" ]]; then exec /opt/keycloak/bin/kc.sh $KC_MODE |
Uh oh!
There was an error while loading. Please reload this page.
Hi
Previously, on the Wildlfy distribution, we could provide the some secrets via a file using the DB_PASSWORD_FILE and KEYCLOAK_PASSWORD_FILE. That was really useful to use Docker Swarm secrets, for example.
I can see there's some support to file based secrets, as described at Using Kubernetes secrets, but that seems to be a different use case.
What would be the Quarkus alternative for that?
I could do something like on our docker-compose file:
But it would be great something less hacky, as we had before.
Thanks!
All reactions