Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve environment variable handling for Docker deployment #3

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

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

svngoku
Copy link
Owner

@svngoku svngoku commented Apr 8, 2025

This PR improves the environment variable handling in the Docker deployment, making the application more robust and configurable. It includes:

  • Enhanced .env.sample file with comprehensive documentation
  • Improved call_llm.py to better handle environment variables and error cases
  • Updated Dockerfile with proper environment variable defaults
  • Enhanced docker-compose.yml with volume mapping for cache file and explicit environment variables
  • Added Git installation to Dockerfile to resolve GitPython dependency issues

These changes make the application more reliable when deployed in Docker containers and provide better documentation for users setting up their environment.

@svngoku svngoku merged commit f8e15f9 into main Apr 8, 2025
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