Refactor makefile to add deployment for adguardhome stack

This commit is contained in:
2024-06-11 15:34:16 +08:00
parent c3c10ce7e5
commit f931ec0cd6
+8
View File
@@ -57,6 +57,14 @@ deploy-secondary: pull
set +a ;\ set +a ;\
docker stack deploy --compose-file ./swarm/secondary.yml secondary ;\ 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 deploy-emqx: pull
{ \ { \
echo "Deploying the emqx stack..." ;\ echo "Deploying the emqx stack..." ;\