dashboard/Makefile
philipp dea8773ff6 add-frames (#1)
Adds a iframe view for apps in the dashboard. Makes it usable for our setup.

Co-authored-by: Philipp Rothmann <philipprothmann@posteo.de>
Co-authored-by: viehlieb <pf@pragma-shift.net>
Reviewed-on: #1
2022-11-02 10:25:43 +01:00

19 lines
552 B
Makefile

build:
$(MAKE) -C backend build
docker push yksflip/dashboard-backend:latest
docker build -t dashboard .
docker tag dashboard yksflip/dashboard:latest
docker push yksflip/dashboard:latest
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