Skip to content

Instantly share code, notes, and snippets.

@peel
Last active November 15, 2016 07:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peel/5237994e18b1223172b7a89404e29e18 to your computer and use it in GitHub Desktop.
Save peel/5237994e18b1223172b7a89404e29e18 to your computer and use it in GitHub Desktop.
make
REPOS := user-service uc-service pep-service application-handler-service sms-service point-service mail-service message-dispatcher
ORG := LendoSTPGdansk
TARGET := wrk/lendo
default: clone run
clone:
@echo "[INFO] cloning repositories"
@for r in $(REPOS) ; do git clone git@github.com:$(ORG)/$$r.git ~/$(TARGET)/$$r ; done
run:
@echo "[INFO] running containers"
docker-compose -d -f ~/$(TARGET)/docker-compose.yml up
clean:
@echo "[INFO] killing containers"
@docker-compose kill || true
@echo "[INFO] removing containers"
@docker-compose rm -f || true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment