more everything
This commit is contained in:
parent
e188f6b7b9
commit
67fd09496f
9 changed files with 94 additions and 55 deletions
2
swarm.mk
2
swarm.mk
|
@ -4,7 +4,9 @@ start-swarm:
|
|||
@- echo "\n### starting service(s)"
|
||||
@- $(foreach host,$(DEPLOY_HOSTS), \
|
||||
echo "$(host)"; \
|
||||
set -e; \
|
||||
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); docker stack deploy -c stack.yml $(DEPLOY_NAME)"; \
|
||||
set +e; \
|
||||
)
|
||||
|
||||
stop-swarm:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue