reload-compose target calls ./reload.sh on
This commit is contained in:
parent
85ccc9bad5
commit
d25c72ef66
13
docker.mk
13
docker.mk
|
@ -52,5 +52,18 @@ restart-compose:
|
|||
echo "$(host)"; \
|
||||
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