44e4e4eb42
introduce admin area first poc for connecting the authentik api Co-authored-by: Philipp Rothmann <philipprothmann@posteo.de> Reviewed-on: #2
20 lines
539 B
Makefile
20 lines
539 B
Makefile
tag = "$$(git describe --tags)"
|
|
|
|
build:
|
|
$(MAKE) -C backend build
|
|
docker build -t dashboard .
|
|
docker tag dashboard yksflip/dashboard:$(tag)
|
|
docker push yksflip/dashboard:$(tag)
|
|
|
|
rm:
|
|
docker stack rm ${STACK_NAME}
|
|
|
|
deploy: rm
|
|
DOMAIN=${DOMAIN} docker stack deploy --resolve-image always --compose-file compose.yml ${STACK_NAME}
|
|
|
|
update:
|
|
docker pull yksflip/dashboard:latest
|
|
docker service update dashboard_app --image yksflip/dashboard:latest --force
|
|
|
|
exec:
|
|
docker exec -it $$(docker ps --format "{{ .Names }}" | grep dashboard) bash
|