wip add frames
This commit is contained in:
parent
edb5b02608
commit
ffd62d66f1
79 changed files with 1190 additions and 2541 deletions
25
Makefile
Normal file
25
Makefile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
include .env
|
||||
export
|
||||
|
||||
build:
|
||||
docker build -t dashboard .
|
||||
docker tag dashboard yksflip/dashboard:latest
|
||||
|
||||
run:
|
||||
docker run --rm -it -p 80:80 dashboard
|
||||
|
||||
push:
|
||||
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
|
||||
Reference in a new issue