Add convenience script and makefile for hacking
This commit is contained in:
parent
4e2415e807
commit
09f914057c
5
bin/disable-theme-cache.cli
Normal file
5
bin/disable-theme-cache.cli
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
embed-server --std-out=echo --server-config=standalone-ha.xml
|
||||||
|
/subsystem=keycloak-server/theme=defaults/:write-attribute(name=cacheThemes,value=false)
|
||||||
|
/subsystem=keycloak-server/theme=defaults/:write-attribute(name=cacheTemplates,value=false)
|
||||||
|
/subsystem=keycloak-server/theme=defaults/:write-attribute(name=staticMaxAge,value=-1)
|
||||||
|
stop-embedded-server
|
@ -366,7 +366,7 @@ openshift.scope.list-projects=List projects
|
|||||||
# SAML authentication
|
# SAML authentication
|
||||||
saml.post-form.title=Authentication Redirect
|
saml.post-form.title=Authentication Redirect
|
||||||
saml.post-form.message=Redirecting, please wait.
|
saml.post-form.message=Redirecting, please wait.
|
||||||
saml.post-form.js-disabled=JavaScript is disabled. We strongly recommend to enable it. Click the button below to continue.
|
saml.post-form.js-disabled=JavaScript is disabled. We strongly recommend to enable it. Click the button below to continue.
|
||||||
saml.artifactResolutionServiceInvalidResponse=Unable to resolve artifact.
|
saml.artifactResolutionServiceInvalidResponse=Unable to resolve artifact.
|
||||||
|
|
||||||
#authenticators
|
#authenticators
|
||||||
@ -412,4 +412,4 @@ loggingOutImmediately=Logging you out immediately
|
|||||||
accountUnusable=Any subsequent use of the application will not be possible with this account
|
accountUnusable=Any subsequent use of the application will not be possible with this account
|
||||||
userDeletedSuccessfully=User deleted successfully
|
userDeletedSuccessfully=User deleted successfully
|
||||||
|
|
||||||
access-denied=Access denied
|
access-denied=Access denied
|
||||||
|
17
makefile
Normal file
17
makefile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
default: run
|
||||||
|
|
||||||
|
run: ## run a new container
|
||||||
|
@docker run \
|
||||||
|
-p 8080:8080 \
|
||||||
|
-v $$(pwd)/lumbung.space:/opt/jboss/keycloak/themes/lumbung.space \
|
||||||
|
-v $$(pwd)/bin/disable-theme-cache.cli:/opt/jboss/startup-scripts/disable-theme-cache.cli \
|
||||||
|
-e KEYCLOAK_USER=admin \
|
||||||
|
-e KEYCLOAK_PASSWORD=admin \
|
||||||
|
--name keycloakdev \
|
||||||
|
jboss/keycloak:12.0.4
|
||||||
|
|
||||||
|
shell: ## get a shell in the container
|
||||||
|
@docker exec -it keycloakdev /bin/bash
|
||||||
|
|
||||||
|
stop: ## tear down the container
|
||||||
|
@docker stop keycloakdev && docker rm keycloakdev
|
Loading…
Reference in New Issue
Block a user