From f8cd764815130940ebfa0c8b118489782f0f7b12 Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Wed, 31 Jul 2024 10:51:32 +0800 Subject: [PATCH] Refactor makefile to add deployment for docmost and outline stacks --- makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/makefile b/makefile index ba71eb1..98001ae 100644 --- a/makefile +++ b/makefile @@ -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 \ No newline at end of file