recipes/makefile
2021-10-11 01:34:03 +02:00

12 lines
306 B
Makefile

STACK := recipes_coopcloud_tech
default: deploy
generate:
abra catalogue generate && cp ~/.abra/apps.json recipes.json
deploy:
@DOCKER_CONTEXT=swarm.autonomic.zone docker stack rm $(STACK) && \
DOCKER_CONTEXT=swarm.autonomic.zone docker stack deploy -c compose.yml $(STACK)
.PHONY: generate deploy