feat: add deployment command for Nextcloud stack in Makefile

This commit is contained in:
2025-07-01 15:16:20 +08:00
parent 3b3b8a5e6c
commit 6bef5ab9f0
+8 -1
View File
@@ -175,7 +175,6 @@ deploy-semaphore: pull
set +a ;\ set +a ;\
docker stack deploy --compose-file ./swarm/semaphore.yml semaphore ;\ docker stack deploy --compose-file ./swarm/semaphore.yml semaphore ;\
} }
deploy-seafile: pull deploy-seafile: pull
{ \ { \
echo "Deploying the seafile stack..." ;\ echo "Deploying the seafile stack..." ;\
@@ -184,5 +183,13 @@ deploy-seafile: pull
set +a ;\ set +a ;\
docker stack deploy --compose-file ./swarm/seafile.yml seafile ;\ docker stack deploy --compose-file ./swarm/seafile.yml seafile ;\
} }
deploy-nextcloud: pull
{ \
echo "Deploying the nextcloud stack..." ;\
set -a ;\
. ./swarm/.env ;\
set +a ;\
docker stack deploy --compose-file ./swarm/nextcloud.yml nextcloud ;\
}
# git submodule update --init --recursive # git submodule update --init --recursive