feat(storage): add local storage framework

This commit is contained in:
Schubert Ferenc 2026-07-03 18:11:58 +02:00
parent 228da8f814
commit 964b545bc5
24 changed files with 890 additions and 98 deletions

View file

@ -20,11 +20,14 @@ services:
INITIAL_ADMIN_PASSWORD: ${INITIAL_ADMIN_PASSWORD:-}
INITIAL_ADMIN_FIRST_NAME: ${INITIAL_ADMIN_FIRST_NAME:-}
INITIAL_ADMIN_LAST_NAME: ${INITIAL_ADMIN_LAST_NAME:-}
STORAGE_PROVIDER: ${STORAGE_PROVIDER:-local}
STORAGE_BASE_PATH: ${STORAGE_BASE_PATH:-/data/storage}
STORAGE_MAX_UPLOAD_MB: ${STORAGE_MAX_UPLOAD_MB:-50}
KNOWLEDGE_STORAGE_PATH: ${KNOWLEDGE_STORAGE_PATH:-/data/knowledge}
KNOWLEDGE_MAX_UPLOAD_MB: ${KNOWLEDGE_MAX_UPLOAD_MB:-50}
volumes:
- knowledge-data:/data/knowledge
- ${STORAGE_HOST_PATH:-./storage}:/data/storage
expose:
- "8000"
@ -58,6 +61,3 @@ services:
networks:
olympus-network:
external: true
volumes:
knowledge-data: