coco-3.11-theme/makefile

21 lines
454 B
Makefile
Raw Normal View History

2023-04-13 17:36:43 +00:00
default: run
run:
@docker run \
-p 8080:8080 \
-v $$(pwd)/hacktheplanet:/opt/keycloak/themes/hacktheplanet \
-e KEYCLOAK_ADMIN=admin \
-e KEYCLOAK_ADMIN_PASSWORD=admin \
--name keycloakdev \
keycloak/keycloak:20.0.1 \
start-dev \
--spi-theme-static-max-age=-1 \
--spi-theme-cache-themes=false \
--spi-theme-cache-templates=false \
shell:
@docker exec -it keycloakdev /bin/bash
stop:
@docker stop keycloakdev && docker rm keycloakdev