Skip to content

Commit

Permalink
Merge pull request #13 from nomadstar/For-windows!--Made-with-copilot-
Browse files Browse the repository at this point in the history
Makeme.batman XDDD
  • Loading branch information
amithkoujalgi authored Feb 17, 2025
2 parents 8b1e136 + 79ab75c commit 0e2c917
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions Makeme.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
@echo off
if "%1" == "start" goto start
if "%1" == "start-gpu" goto start-gpu
if "%1" == "stop" goto stop
echo Invalid argument. Use "start", "start-gpu", or "stop".
goto end

:start
docker-compose -f ./docker-compose.yml down -v
docker-compose -f ./docker-compose.yml rm -fsv
docker-compose -f ./docker-compose.yml up --remove-orphans
goto end

:start-gpu
docker-compose -f ./docker-compose-gpu.yml down -v
docker-compose -f ./docker-compose-gpu.yml rm -fsv
docker-compose -f ./docker-compose-gpu.yml up --remove-orphans
goto end

:stop
docker-compose -f ./docker-compose.yml down -v
docker-compose -f ./docker-compose-gpu.yml down -v
docker-compose -f ./docker-compose.yml rm -fsv
docker-compose -f ./docker-compose-gpu.yml rm -fsv
goto end

:end
2 changes: 1 addition & 1 deletion docker-compose-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
- 8501:8501
environment:
- OLLAMA_API_BASE_URL=http://ollama:11434
- MODEL=llama2
- MODEL=llama3.2
networks:
- net

Expand Down

0 comments on commit 0e2c917

Please sign in to comment.