Skip to content

Conversation

CloudMarc
Copy link

This pull request introduces a new Dockerfile for containerizing the application, updates the docker-compose.yml configuration, adds a new dependency, improves file handling in a script, and refactors a test script to use explicit configuration. Below is a breakdown of the most important changes:

Containerization and Deployment

  • Added a Dockerfile to containerize the application. This includes setting up a Python 3.10 environment, installing dependencies using Poetry, and defining environment variables for Solr and Ollama configurations. The application is set to run on port 8000. (Dockerfile, DockerfileR1-R33)
  • Updated docker-compose.yml to specify the command for running the application inside the container. (docker-compose.yml, docker-compose.ymlR153)

Dependency Management

  • Added aiohttp as a new dependency in pyproject.toml, which may be used for asynchronous HTTP requests. (pyproject.toml, pyproject.tomlR31)

Script Improvements

  • Enhanced the process_markdown_file function to ensure the output directory exists before writing files, improving robustness. (scripts/process_markdown.py, scripts/process_markdown.pyR105-R109)

Test Refactoring

  • Refactored simple_mcp_test.py to use an explicit SolrConfig object when initializing SolrClient, making the configuration more transparent and flexible. Commented out unused search-related code for future updates. (scripts/simple_mcp_test.py, [1] [2]

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.

1 participant