Refactor makefile to add deployment for docmost and outline stacks

This commit is contained in:
2024-07-31 10:51:32 +08:00
parent 012a1dd117
commit f8cd764815
+16
View File
@@ -129,4 +129,20 @@ deploy-searxng: pull
set +a ;\
docker stack deploy --compose-file ./swarm/searxng.yml searxng ;\
}
deploy-docmost: pull
{ \
echo "Deploying the docmost stack..." ;\
set -a ;\
. ./swarm/.env ;\
set +a ;\
docker stack deploy --compose-file ./swarm/docmost.yml docmost ;\
}
deploy-outline: pull
{ \
echo "Deploying the outline stack..." ;\
set -a ;\
. ./swarm/.env ;\
set +a ;\
docker stack deploy --compose-file ./swarm/outline.yml outline ;\
}
# git submodule update --init --recursive