"examples/community/seed_resize_stable_diffusion.py" did not exist on "12fd0736dcc51f77c52130ab10177d0c1d5a29d9"
Makefile 643 Bytes
Newer Older
1
2
3
4
5
6
7

ifneq ($(shell which docker-compose 2>/dev/null),)
    DOCKER_COMPOSE := docker-compose
else
    DOCKER_COMPOSE := docker compose
endif

8
install:
9
	$(DOCKER_COMPOSE) up -d
10
11

remove:
12
13
14
	@chmod +x confirm_remove.sh
	@./confirm_remove.sh

15
start:
16
	$(DOCKER_COMPOSE) start
Patrice-Gaudicheau's avatar
Patrice-Gaudicheau committed
17
startAndBuild: 
18
	$(DOCKER_COMPOSE) up -d --build
19
20

stop:
21
	$(DOCKER_COMPOSE) stop
22
23

update:
24
	# Calls the LLM update script
25
26
	chmod +x update_ollama_models.sh
	@./update_ollama_models.sh
27
	@git pull
28
	$(DOCKER_COMPOSE) down
29
	# Make sure the ollama-webui container is stopped before rebuilding
30
	@docker stop open-webui || true
31
32
	$(DOCKER_COMPOSE) up --build -d
	$(DOCKER_COMPOSE) start
33