docker-app/Makefile

27 lines
478 B
Makefile

run:
@docker-app render | docker-compose -f - up -d --build
run_tomcat:
@docker-app render | docker-compose -f - up -d --build tomcat
log:
@docker logs docker_hello_1 -f
@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