.
Some checks failed
Mark stale issues and pull requests / stale (push) Has been cancelled
Linting and Formatting / Linting and Formatting (push) Has been cancelled
Offline Unit Tests / Offline Tests (3.12) (push) Has been cancelled
Offline Unit Tests / Offline Tests (3.14) (push) Has been cancelled
Some checks failed
Mark stale issues and pull requests / stale (push) Has been cancelled
Linting and Formatting / Linting and Formatting (push) Has been cancelled
Offline Unit Tests / Offline Tests (3.12) (push) Has been cancelled
Offline Unit Tests / Offline Tests (3.14) (push) Has been cancelled
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
services:
|
||||
lightrag:
|
||||
container_name: lightrag
|
||||
image: ghcr.io/hkuds/lightrag:latest
|
||||
image: git.baked.rocks/vasceannie/lightrag:latest
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
tags:
|
||||
- ghcr.io/hkuds/lightrag:latest
|
||||
ports:
|
||||
- "${PORT:-9621}:9621"
|
||||
- git.baked.rocks/vasceannie/lightrag:latest
|
||||
network_mode: host
|
||||
# ports:
|
||||
# - "${PORT:-9621}:9621"
|
||||
volumes:
|
||||
- ./data/rag_storage:/app/data/rag_storage
|
||||
- ./data/inputs:/app/data/inputs
|
||||
@@ -16,6 +17,37 @@ services:
|
||||
- ./.env:/app/.env
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- TIMEOUT=${TIMEOUT:-180}
|
||||
- LLM_TIMEOUT=${LLM_TIMEOUT:-180}
|
||||
restart: unless-stopped
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
# - "q.lab:192.168.50.210"
|
||||
neo4j:
|
||||
image: neo4j:latest
|
||||
container_name: memory-neo4j
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget --quiet --tries=1 --spider http://localhost:7474 || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 30s # Neo4j 2025 needs time to initialize metadata
|
||||
ports:
|
||||
- "7474:7474" # HTTP
|
||||
- "7687:7687" # Bolt (Standard port)
|
||||
volumes:
|
||||
- memory_neo4j_data:/data
|
||||
- memory_neo4j_logs:/logs
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- NEO4J_AUTH=${NEO4J_USER:-neo4j}/${NEO4J_PASSWORD:-squirtle123}
|
||||
# Recommended for 2025 versions to ensure performance:
|
||||
- NEO4J_PLUGINS=["apoc"]
|
||||
- NEO4J_dbms_memory_heap_max__size=1G
|
||||
|
||||
volumes:
|
||||
memory_neo4j_data:
|
||||
name: memory_neo4j_data
|
||||
memory_neo4j_logs:
|
||||
name: memory_neo4j_logs
|
||||
|
||||
Reference in New Issue
Block a user