hacktheplanet/makefile

21 lines
454 B
Makefile
Raw Permalink Normal View History

2022-12-07 09:14:55 +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