From cecd6bca5e7f1a57de488dc0bcd639c2233c3dfd Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Mon, 10 Jun 2024 14:24:10 +0800 Subject: [PATCH] Refactor makefile to add deployment targets for librechat and openwebui stacks --- makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/makefile b/makefile index e05fa59..3173743 100644 --- a/makefile +++ b/makefile @@ -81,6 +81,22 @@ deploy-swarmpit: pull set +a ;\ docker stack deploy --compose-file ./swarm/swarmpit.yml swarmpit ;\ } +deploy-librechat: pull + { \ + echo "Deploying the librechat stack..." ;\ + set -a ;\ + . ./swarm/.env ;\ + set +a ;\ + docker stack deploy --compose-file ./swarm/librechat.yml librechat ;\ + } +deploy-openwebui: pull + { \ + echo "Deploying the openwebui stack..." ;\ + set -a ;\ + . ./swarm/.env ;\ + set +a ;\ + docker stack deploy --compose-file ./swarm/openwebui.yml openwebui ;\ + } deploy-thelounge: pull { \ echo "Deploying the thelounge stack..." ;\