Skip to content

fix: improve Dockerfiles and document Docker Desktop AI integration#21

Open
nomadicmehul wants to merge 2 commits intodocker:mainfrom
nomadicmehul:feature/dockerfile-improvements
Open

fix: improve Dockerfiles and document Docker Desktop AI integration#21
nomadicmehul wants to merge 2 commits intodocker:mainfrom
nomadicmehul:feature/dockerfile-improvements

Conversation

@nomadicmehul
Copy link
Contributor

Summary

This PR improves the Dockerfiles and documentation across all three service implementations (Go, Python, Rust).

Changes

Dockerfile Improvements

  • Added curl to Go and Python Dockerfiles for healthcheck support
  • Standardized healthcheck port configuration to use PORT env var
  • Removed duplicate HEALTHCHECK instruction in Go Dockerfile
  • Aligned EXPOSE directives with docker-compose configuration

Documentation Updates

  • Documented Docker Desktop AI integration (LLAMA_URL/LLAMA_MODEL)
  • Clarified legacy environment variable support for backward compatibility
  • Explained port configuration differences between local and Docker usage
  • Updated all service READMEs for consistency

Benefits

  • Ensures healthchecks work correctly in containerized environments
  • Better user experience with Docker Desktop's integrated AI models
  • Maintains backward compatibility with existing configurations
  • Consistent documentation across all language implementations

- Add curl to Go and Python Dockerfiles for healthcheck support
- Standardize healthcheck port configuration to use PORT env var
- Remove duplicate HEALTHCHECK instruction in Go Dockerfile
- Align EXPOSE directives with docker-compose configuration (port 8080)

This ensures healthchecks work correctly in containerized environments
and maintains consistency across all three language implementations.
- Add documentation for LLAMA_URL and LLAMA_MODEL environment variables
- Clarify Docker Desktop AI model integration as recommended approach
- Document legacy LLM_BASE_URL and LLM_MODEL_NAME as fallback options
- Explain port configuration differences between local and Docker usage
- Update all service READMEs (Go, Python, Rust) for consistency

This helps users understand how to use the apps with Docker Desktop's
integrated AI models feature while maintaining backward compatibility.
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