recipes/makefile

15 lines
474 B
Makefile
Raw Permalink Normal View History

2022-05-24 14:19:25 +02:00
STACK := recipes_coopcloud_tech_json
2021-10-11 01:34:03 +02:00
default: deploy
generate:
2021-11-07 00:09:44 +01:00
abra catalogue generate
2021-10-11 01:34:03 +02:00
deploy:
2022-05-24 14:19:25 +02:00
@DOCKER_CONTEXT=mellor.coopcloud.tech docker stack rm $(STACK) && \
2022-10-25 11:22:45 +02:00
DOCKER_CONTEXT=mellor.coopcloud.tech docker stack deploy -c compose.yml $(STACK) && \
DOCKER_CONTEXT=mellor.coopcloud.tech docker service scale recipes_coopcloud_tech_json_app=0 && \
DOCKER_CONTEXT=mellor.coopcloud.tech docker service scale recipes_coopcloud_tech_json_app=1
2021-10-11 01:34:03 +02:00
.PHONY: generate deploy