From 16023164ac3db430774a5cde26b27515f2b26e0c Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 1 Jan 2026 05:27:38 +0000 Subject: [PATCH] Revert to explicit GITEA_API_URL configuration --- README.md | 2 +- compose.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fcbb2b1..5c039d9 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Create a `.env` file with the following variables: | Variable | Required | Description | Default | | :--- | :--- | :--- | :--- | | `GITEA_TOKEN` | **Yes** | A Gitea Access Token. Required permissions: `repository` (Read), `issue` (Read and Write). | | -| `GITEA_BASE_URL` | No | Base URL of your Gitea instance (e.g., `http://gitea:3000` or `https://git.example.com`). | | +| `GITEA_API_URL` | **Yes** | Full URL to your Gitea API (e.g., `https://git.example.com/api/v1`). | | | `PORT` | No | Host port to expose the webhook server on. | `3000` | | `OPENAI_API_KEY` | **Yes** | API Key for your LLM provider. Use `dummy` for local models if no auth needed. | | | `OPENAI_BASE_URL` | No | Base URL for the LLM API. Set this for Ollama/vLLM (e.g. `http://host.docker.internal:11434/v1/`). | `https://api.openai.com/v1/` | diff --git a/compose.yaml b/compose.yaml index ebb8e34..37b01f1 100644 --- a/compose.yaml +++ b/compose.yaml @@ -17,7 +17,7 @@ services: # VCS Config - VCS__PROVIDER=GITEA - VCS__HTTP_CLIENT__API_TOKEN=${GITEA_TOKEN} - - VCS__HTTP_CLIENT__API_URL=${GITEA_BASE_URL:-http://gitea-server:3000}/api/v1/ + - VCS__HTTP_CLIENT__API_URL=${GITEA_API_URL} volumes: - xai-cache:/root/.cache