From 8482b3597ccae883496d5aa895159ec69d4700ad Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Fri, 13 Sep 2024 11:00:04 +0800 Subject: [PATCH] Refactor makefile to add deployment for authentik stack --- makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 3221486..650a7d1 100644 --- a/makefile +++ b/makefile @@ -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..." ;\