Refactor makefile to remove unnecessary lines

This commit is contained in:
2024-09-13 11:27:28 +08:00
parent 69785d0494
commit c7dbc5ae01
+4
View File
@@ -41,6 +41,7 @@ deploy-portainer: pull
set +a ;\ set +a ;\
docker stack deploy --compose-file ./swarm/portainer.yml portainer ;\ docker stack deploy --compose-file ./swarm/portainer.yml portainer ;\
} }
deploy-swarmpit: pull deploy-swarmpit: pull
{ \ { \
echo "Deploying the swarmpit stack..." ;\ echo "Deploying the swarmpit stack..." ;\
@@ -49,6 +50,7 @@ deploy-swarmpit: pull
set +a ;\ set +a ;\
docker stack deploy --compose-file ./swarm/swarmpit.yml swarmpit ;\ docker stack deploy --compose-file ./swarm/swarmpit.yml swarmpit ;\
} }
deploy-services: pull deploy-services: pull
{ \ { \
echo "Deploying the services stack..." ;\ echo "Deploying the services stack..." ;\
@@ -57,6 +59,7 @@ deploy-services: pull
set +a ;\ set +a ;\
docker stack deploy --compose-file ./swarm/services.yml services ;\ docker stack deploy --compose-file ./swarm/services.yml services ;\
} }
deploy-authentik: pull deploy-authentik: pull
{ \ { \
echo "Deploying the authentik stack..." ;\ echo "Deploying the authentik stack..." ;\
@@ -65,6 +68,7 @@ deploy-authentik: pull
set +a ;\ set +a ;\
docker stack deploy --compose-file ./swarm/authentik.yml authentik ;\ docker stack deploy --compose-file ./swarm/authentik.yml authentik ;\
} }
deploy-apps: pull deploy-apps: pull
{ \ { \
echo "Deploying the apps stack..." ;\ echo "Deploying the apps stack..." ;\