reload-compose target calls ./reload.sh on
This commit is contained in:
parent
85ccc9bad5
commit
d25c72ef66
13
docker.mk
13
docker.mk
|
@ -53,4 +53,17 @@ restart-compose:
|
|||
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); docker-compose restart"; \
|
||||
)
|
||||
|
||||
restart-swarm:
|
||||
# nop
|
||||
|
||||
reload-compose:
|
||||
@- $(foreach host,$(DEPLOY_HOSTS), \
|
||||
echo "$(host)"; \
|
||||
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); ./reload.sh; \
|
||||
)
|
||||
|
||||
reload-swarm:
|
||||
@- $(foreach host,$(DEPLOY_HOSTS), \
|
||||
echo "$(host)"; \
|
||||
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); ./reload.sh; \
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue