start-swarm: restore docker ctx
This commit is contained in:
parent
ba7881eea4
commit
900c7825c1
|
@ -47,6 +47,7 @@ start-swarm:
|
||||||
@- $(foreach ctx,$(DEPLOY_HOSTS), \
|
@- $(foreach ctx,$(DEPLOY_HOSTS), \
|
||||||
docker --context $(ctx) stack deploy -c stack.yml $(DEPLOY_NAME); \
|
docker --context $(ctx) stack deploy -c stack.yml $(DEPLOY_NAME); \
|
||||||
)
|
)
|
||||||
|
@- docker context use $(stored_ctx)
|
||||||
|
|
||||||
stop-compose:
|
stop-compose:
|
||||||
@- echo "\n### stopping service(s)"
|
@- echo "\n### stopping service(s)"
|
||||||
|
|
Loading…
Reference in New Issue