Refactor makefile to add deployment for mailserver stack

This commit is contained in:
2024-06-13 14:24:27 +08:00
parent 18bd556c9d
commit 70f3a007fc
+16 -16
View File
@@ -32,6 +32,14 @@ deploy-portainer: pull
docker stack deploy --compose-file ./swarm/portainer.yml portainer ;\
}
deploy-swarmpit: pull
{ \
echo "Deploying the swarmpit stack..." ;\
set -a ;\
. ./swarm/.env ;\
set +a ;\
docker stack deploy --compose-file ./swarm/swarmpit.yml swarmpit ;\
}
deploy-services: pull
{ \
echo "Deploying the services stack..." ;\
@@ -81,14 +89,6 @@ deploy-ghost: pull
set +a ;\
docker stack deploy --compose-file ./swarm/ghost.yml ghost ;\
}
deploy-swarmpit: pull
{ \
echo "Deploying the swarmpit stack..." ;\
set -a ;\
. ./swarm/.env ;\
set +a ;\
docker stack deploy --compose-file ./swarm/swarmpit.yml swarmpit ;\
}
deploy-librechat: pull
{ \
echo "Deploying the librechat stack..." ;\
@@ -97,6 +97,14 @@ deploy-librechat: pull
set +a ;\
docker stack deploy --compose-file ./swarm/librechat.yml librechat ;\
}
deploy-mailserver: pull
{ \
echo "Deploying the mailserver stack..." ;\
set -a ;\
. ./swarm/.env ;\
set +a ;\
docker stack deploy --compose-file ./swarm/mailserver.yml mailserver ;\
}
deploy-openwebui: pull
{ \
echo "Deploying the openwebui stack..." ;\
@@ -121,12 +129,4 @@ deploy-searxng: pull
set +a ;\
docker stack deploy --compose-file ./swarm/searxng.yml searxng ;\
}
deploy-mailserver: pull
{ \
echo "Deploying the mailserver stack..." ;\
set -a ;\
. ./swarm/.env ;\
set +a ;\
docker stack deploy --compose-file ./swarm/mailserver.yml mailserver ;\
}
# git submodule update --init --recursive