-
Notifications
You must be signed in to change notification settings - Fork 0
docs(docker compose): update README for server configuration and usage instructions; add Docker Compose setup for SYNC Server LLM #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,27 @@ | ||||||
| # Docker Compose configuration for SYNC Server LLM | ||||||
| # This sets up both the backend-llm service and its required Qdrant vector database | ||||||
|
|
||||||
| services: | ||||||
| # Main backend service for SYNC Server LLM | ||||||
| backend-llm: | ||||||
| build: sync-server-llm # Path to the directory with Dockerfile of sync-server-llm | ||||||
| restart: always | ||||||
| ports: | ||||||
| # Maps the container port to host (must match server.port in config.toml) | ||||||
| - 50051:50051 | ||||||
| env_file: | ||||||
| - .env | ||||||
| environment: | ||||||
| QDRANT_HOST: qdrant | ||||||
| volumes: | ||||||
| # Mount configuration and cache for persistence | ||||||
| - ./configs/config.toml:/app/configs/config.toml | ||||||
| - ./.hf_cache:/tmp/llama_index | ||||||
|
Comment on lines
+20
to
+21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||
|
|
||||||
| # Qdrant vector database service | ||||||
| qdrant: | ||||||
| image: qdrant/qdrant:latest | ||||||
|
||||||
| image: qdrant/qdrant:latest | |
| image: qdrant/qdrant:v1.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be helpful to specify the context for the build, e.g.,
.if the Dockerfile is in the same directory. This makes the compose file more explicit.