docker-app/Makefile

20 lines
308 B
Makefile

run:
@docker-app render | docker-compose -f - up -d --build && docker logs hello -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
status:
curl http://127.0.0.1:9200/_cat/health