feature: Add Docker support #5
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces Docker support, improves environment configuration, and enhances code documentation and maintainability. Key changes include adding Docker-related files, refining
.envusage, and updating Python code with type annotations and docstrings.Docker Support:
Dockerfileto define the container environment, including dependencies and the command to run the MCP server.docker-compose.ymlfile to simplify container orchestration, allowing easy setup with environment variables and automatic restarts.README.mdwith instructions for running the MCP server using Docker, including steps for building, starting, and stopping the container.Environment Configuration:
.dockerignoreto exclude unnecessary files and directories, such as__pycache__,.env, andnode_modules, from being copied into the Docker image.MEM0_API_KEYfrom the.envfile and updatedREADME.mdwith clearer instructions for setting up environment variables. [1] [2]Code Improvements:
main.pywith Python >3.11 style type annotations and added numpy-style docstrings to improve code readability and maintainability. [1] [2]HOSTandPORT) as defaults, improving flexibility in deployment.