Some checks failed
Create and publish Docker images with specific build args / build-main-image (linux/amd64, ubuntu-latest) (push) Has been cancelled
Create and publish Docker images with specific build args / build-main-image (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64, ubuntu-latest) (push) Has been cancelled
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Create and publish Docker images with specific build args / build-cuda126-image (linux/amd64, ubuntu-latest) (push) Has been cancelled
Create and publish Docker images with specific build args / build-cuda126-image (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64, ubuntu-latest) (push) Has been cancelled
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Create and publish Docker images with specific build args / build-slim-image (linux/amd64, ubuntu-latest) (push) Has been cancelled
Create and publish Docker images with specific build args / build-slim-image (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Create and publish Docker images with specific build args / merge-main-images (push) Has been cancelled
Create and publish Docker images with specific build args / merge-cuda-images (push) Has been cancelled
Create and publish Docker images with specific build args / merge-cuda126-images (push) Has been cancelled
Create and publish Docker images with specific build args / merge-ollama-images (push) Has been cancelled
Create and publish Docker images with specific build args / merge-slim-images (push) Has been cancelled
Python CI / Format Backend (3.11.x) (push) Has been cancelled
Python CI / Format Backend (3.12.x) (push) Has been cancelled
Frontend Build / Format & Build Frontend (push) Has been cancelled
Frontend Build / Frontend Unit Tests (push) Has been cancelled
Close inactive issues / close-issues (push) Has been cancelled
34 lines
643 B
Makefile
34 lines
643 B
Makefile
|
|
ifneq ($(shell which docker-compose 2>/dev/null),)
|
|
DOCKER_COMPOSE := docker-compose
|
|
else
|
|
DOCKER_COMPOSE := docker compose
|
|
endif
|
|
|
|
install:
|
|
$(DOCKER_COMPOSE) up -d
|
|
|
|
remove:
|
|
@chmod +x confirm_remove.sh
|
|
@./confirm_remove.sh
|
|
|
|
start:
|
|
$(DOCKER_COMPOSE) start
|
|
startAndBuild:
|
|
$(DOCKER_COMPOSE) up -d --build
|
|
|
|
stop:
|
|
$(DOCKER_COMPOSE) stop
|
|
|
|
update:
|
|
# Calls the LLM update script
|
|
chmod +x update_ollama_models.sh
|
|
@./update_ollama_models.sh
|
|
@git pull
|
|
$(DOCKER_COMPOSE) down
|
|
# Make sure the ollama-webui container is stopped before rebuilding
|
|
@docker stop open-webui || true
|
|
$(DOCKER_COMPOSE) up --build -d
|
|
$(DOCKER_COMPOSE) start
|
|
|