Create Makefile to synthesize the commands
This commit is contained in:
parent
af7b0773ec
commit
be88d23d11
15
Makefile
Normal file
15
Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
run:
|
||||
@docker-app render | docker-compose -f - up -d --build && docker logs docker_hello_1 -f
|
||||
|
||||
rm:
|
||||
@docker rm -f $$(docker ps -a --format="{{.Names}}")
|
||||
|
||||
get:
|
||||
@etcdctl get /dev/etcd/loaded
|
||||
|
||||
put:
|
||||
@etcdctl put /dev/etcd/loaded 1
|
||||
|
||||
del:
|
||||
@etcdctl del /dev/etcd/loaded
|
Loading…
Reference in New Issue
Block a user