From f931ec0cd6eb7e04c0c951879644c64dbfcadc88 Mon Sep 17 00:00:00 2001 From: furyhawk Date: Tue, 11 Jun 2024 15:34:16 +0800 Subject: [PATCH] Refactor makefile to add deployment for adguardhome stack --- makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/makefile b/makefile index caeb12a..e2cc92e 100644 --- a/makefile +++ b/makefile @@ -57,6 +57,14 @@ deploy-secondary: pull set +a ;\ docker stack deploy --compose-file ./swarm/secondary.yml secondary ;\ } +deploy-adguardhome: pull + { \ + echo "Deploying the adguardhome stack..." ;\ + set -a ;\ + . ./swarm/.env ;\ + set +a ;\ + docker stack deploy --compose-file ./swarm/adguardhome.yml adguardhome ;\ + } deploy-emqx: pull { \ echo "Deploying the emqx stack..." ;\