Refactor docker support and add web-searcher image#501
Refactor docker support and add web-searcher image#501glahaye merged 6 commits intomicrosoft:mainfrom huangyingting:remote
Conversation
|
Really nice, this is almost 1:1 what I have for my application that builds on top of chat copilot. Env vars are the way to go. I have a question about the search. I've played around with this kind of idea in the past, and something I got to work with Langchain was searxng. Searxng is good, because it's open sourcem, free, keeps "you" anonymous and it's able to aggregate search results across different search engines. And it layers between your service and for example google, meaning that you don't need to pay for API access to their search. This is what I had the service look like in my docker-compose.yml |
glahaye
left a comment
There was a problem hiding this comment.
This PR leaves the previous Docker-related files in place, creating duplicates.
Please either modify the files that already exist, or delete them.
huangyingting
left a comment
There was a problem hiding this comment.
Done review and removed old files.
### Motivation and Context 1. Why is this change required? Refactor docker support to reflect recent configuration changes and add web-searcher docker image support. 3. What problem does it solve? Refactor docker support to reflect recent configuration changes and add web-searcher docker image support. 4. What scenario does it contribute to? Local docker developerment with docker-compose support 5. If it fixes an open issue, please link to the issue here. N/A ### Description 1. Reflect recent configuration changes to use .env files for configuration rather than baking in values. Add an .env.example file to the docker directory to serve as a template. Keep the refactored docker config isolated in the docker directory to avoid impacting the original configuration. 2. Add docker configuration and image build support for the new web-searcher plugin. 3. Update the copilot-build-image workflow to also build the web-searcher docker image. ### Contribution Checklist - [x] The code builds clean without any errors or warnings - [x] The PR follows the [Contribution Guidelines](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄
### Motivation and Context 1. Why is this change required? Refactor docker support to reflect recent configuration changes and add web-searcher docker image support. 3. What problem does it solve? Refactor docker support to reflect recent configuration changes and add web-searcher docker image support. 4. What scenario does it contribute to? Local docker developerment with docker-compose support 5. If it fixes an open issue, please link to the issue here. N/A ### Description 1. Reflect recent configuration changes to use .env files for configuration rather than baking in values. Add an .env.example file to the docker directory to serve as a template. Keep the refactored docker config isolated in the docker directory to avoid impacting the original configuration. 2. Add docker configuration and image build support for the new web-searcher plugin. 3. Update the copilot-build-image workflow to also build the web-searcher docker image. ### Contribution Checklist - [x] The code builds clean without any errors or warnings - [x] The PR follows the [Contribution Guidelines](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄
Motivation and Context
Description
Contribution Checklist