Phase 1: Pin LightRAG version to 1.3.8 as new version introduces bug (#5)

* Partial implementation of phase-0

* Partial implementation of phase-1

* add report

* add postgress

* Revert "add postgress"

This reverts commit 27778dc6bb3906b5220dd386e47fe32ca7415332.

* remove junk

* Cleaned up annd setup docs

* update docs

* moved report

* Updated load_markdown_files function: Now returns tuples with (content, title, relative_path) instead of just (content, title)

* fixes to load docs script and more env variables for llm configuration

* update prod values

* update docs

* apolo docs support with linking

* update docs to reflect url conventions and mapping with docs

* Adds ingress and forwardAuth configurations

Adds ingress configuration to expose the application.

Adds forwardAuth configuration to enable user authentication.

Includes middleware to strip headers.

* Adds ingress and forwardAuth configurations

Adds ingress configuration to expose the application.

Adds forwardAuth configuration to enable user authentication.

Includes middleware to strip headers.

* Adds ingress and forward authentication middleware support

* Adds ingress and forward authentication middleware support

* Enables vector extension initialization in PostgreSQL container

Mounts initialization scripts in the PostgreSQL service to automate enabling the vector extension on startup.

This ensures the vector extension is available without manual setup, improving developer experience and consistency across environments.

* Pins application image version to 1.3.8
This commit is contained in:
Taddeus 2025-06-30 18:05:32 +03:00 committed by GitHub
parent a70ba1f75a
commit 148a764d38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 5 deletions

View file

@ -12,6 +12,7 @@ services:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
- ./init-db:/docker-entrypoint-initdb.d
healthcheck:
test: ["CMD-SHELL", "pg_isready -U lightrag_user -d lightrag"]
interval: 10s
@ -19,7 +20,7 @@ services:
retries: 5
lightrag:
image: ghcr.io/hkuds/lightrag:latest
image: ghcr.io/hkuds/lightrag:1.3.8
container_name: lightrag-minimal
env_file:
- .env

View file

@ -1,12 +1,12 @@
services:
lightrag:
container_name: lightrag
image: ghcr.io/hkuds/lightrag:latest
image: ghcr.io/hkuds/lightrag:1.3.8
build:
context: .
dockerfile: Dockerfile
tags:
- ghcr.io/hkuds/lightrag:latest
- ghcr.io/hkuds/lightrag:1.3.8
ports:
- "${PORT:-9621}:9621"
volumes:

2
init-db/01-init.sql Normal file
View file

@ -0,0 +1,2 @@
-- Enable the vector extension for pgvector
CREATE EXTENSION IF NOT EXISTS vector;

View file

@ -5,7 +5,7 @@ replicaCount: 1
image:
repository: ghcr.io/hkuds/lightrag
tag: latest
tag: 1.3.8
pullPolicy: IfNotPresent
nameOverride: ""

View file

@ -2,7 +2,7 @@ replicaCount: 1
image:
repository: ghcr.io/hkuds/lightrag
tag: latest
tag: 1.3.8
pullPolicy: IfNotPresent
nameOverride: ""