Skip to content

Conversation

@overtunned
Copy link

Summary

Adds support for custom S3 endpoint URLs to enable S3-compatible storage services (MinIO, Ceph, etc.) along with logging improvements.

Changes

S3 Endpoint Configuration

  • Added S3_ENDPOINT_URL setting for custom S3-compatible endpoints

Logging

  • Added environmental variable handling for logging

Dockerfile

  • Updated .dockerignore (exclude node_modules, morphik.toml)
  • Dockerfile.gpu which supports Flash Attention for Colpali Embedding

Other

  • Streamlined conversation handling in PostgreSQL database

Configuration

S3_ENDPOINT_URL=<custom-s3-endpoint>  # Optional

overtunned and others added 8 commits December 17, 2025 23:12
- Added `node_modules` and `morphik.toml` to `.dockerignore`.
- Updated Dockerfile to copy the `utils` directory.
- Modified `start_server.py` to allow log level configuration via an environment variable.
- Enhanced S3 storage initialization in `s3_storage.py` and `services_init.py` to support custom endpoint URLs.
- Updated `postgres_database.py` to streamline conversation handling and preserve titles more effectively.
- Adjusted migration script to include endpoint URL for S3 storage.
…t URLs

- Introduced `S3_ENDPOINT_URL` in the settings to allow specifying a custom endpoint for S3 storage.
- Updated `FastMultiVectorStore`, `MultiVectorStore`, and `ingestion_worker` to utilize the new endpoint URL configuration.
- Improved logging to indicate whether a custom endpoint URL is being used during S3 storage initialization.
- Add GPU-optimized Dockerfile with CUDA 12.1 and flash-attn support
- Include optimized build flags for flash attention compilation
- Configure multi-stage build for efficient image size
- Add GPU-specific dependencies and runtime configuration
@TomEbeyer
Copy link

+1 custom s3 config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants