mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-23 08:25:57 +00:00
Refactor makefile to separate deploy commands for different stacks
This commit is contained in:
@@ -23,6 +23,15 @@ deploy-core: pull
|
|||||||
docker stack deploy --compose-file ./swarm/core.yml core ;\
|
docker stack deploy --compose-file ./swarm/core.yml core ;\
|
||||||
}
|
}
|
||||||
|
|
||||||
|
deploy-portainer: pull
|
||||||
|
{ \
|
||||||
|
echo "Deploying the portainer stack..." ;\
|
||||||
|
set -a ;\
|
||||||
|
. ./swarm/.env ;\
|
||||||
|
set +a ;\
|
||||||
|
docker stack deploy --compose-file ./swarm/portainer.yml portainer ;\
|
||||||
|
}
|
||||||
|
|
||||||
deploy-services: pull
|
deploy-services: pull
|
||||||
{ \
|
{ \
|
||||||
echo "Deploying the services stack..." ;\
|
echo "Deploying the services stack..." ;\
|
||||||
|
|||||||
Reference in New Issue
Block a user