Refactor makefile to add deployment for authentik stack

This commit is contained in:
2024-09-13 11:00:04 +08:00
parent 7006bb492a
commit 8482b3597c
+8 -2
View File
@@ -43,7 +43,6 @@ deploy-portainer: pull
set +a ;\
docker stack deploy --compose-file ./swarm/portainer.yml portainer ;\
}
deploy-swarmpit: pull
{ \
echo "Deploying the swarmpit stack..." ;\
@@ -60,7 +59,14 @@ deploy-services: pull
set +a ;\
docker stack deploy --compose-file ./swarm/services.yml services ;\
}
deploy-authentik: pull
{ \
echo "Deploying the authentik stack..." ;\
set -a ;\
. ./swarm/.env ;\
set +a ;\
docker stack deploy --compose-file ./swarm/authentik.yml authentik ;\
}
deploy-apps: pull
{ \
echo "Deploying the apps stack..." ;\