coco-3.11-theme/makefile

21 lines
452 B
Makefile
Raw Permalink Normal View History

2023-04-13 17:36:43 +00:00
default: run
run:
@docker run \
-p 8080:8080 \
2023-04-13 17:40:10 +00:00
-v $$(pwd)/coco-3.11:/opt/keycloak/themes/coco-3.11-theme \
2023-04-13 17:36:43 +00:00
-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