I'm trying to figure out how to add the "alwaysHttps=true" to the Hostname
Provider in Keycloak running under Docker.
I've tried the following:
1) Modifying the standalone.xml and adding with sed:
name=properties.alwaysHttps,value="true"
2) Adding a CLI to the startup-scripts directory, but this fails since the
server isn't running and the connect doesn't happen.
3) Modifying the tools/cli/hostname.cli file and adding:
/subsystem=keycloak-server/spi=hostname/provider=fixed:write-attribute(name=properties.alwaysHttps,value="true")
What is the correct approach to adding the alwaysHttps when overriding the
default Dockerfile ?
Show replies by date