new proxy

This commit is contained in:
2026-03-18 21:18:17 +03:00
parent 971332c283
commit b51a8850bc
17 changed files with 126 additions and 516 deletions

View File

@@ -1,5 +1,5 @@
NAMESPACE ?= <PROJECT_CHANGE_ME>
PACKAGE := backend
NAMESPACE ?= proxy
PACKAGE := ollama-proxy
SHELL := /bin/bash
REGISTRY := registry.halfakop.ru
REPOSITORY := $(NAMESPACE)/$(PACKAGE)
@@ -21,6 +21,7 @@ help:
@printf " make test - Run unit tests\n"
@printf " make test-integration - Run tests with integration tag\n"
@printf " make run - Build then run locally\n"
@printf " make dev - Run without building (go run, with env vars)\n"
@printf " make clean - Clean build artifacts\n"
@printf " make release - Clean, build image, login, push\n"
@printf "\nVariables:\n"
@@ -53,6 +54,10 @@ run: app
@echo "Run application"
@./${EXEC}
dev:
@echo "Run in development mode"
@OLLAMA_BACKEND=http://localhost:11434 LISTEN_ADDR=:8080 go run ./src
clean:
@echo "Clean build environment"
@rm -rf ./${EXEC}