Skip to content
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

Docker implementation added #1

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

StanleyOneG
Copy link
Contributor

  1. Ollama base_url in controller.py made dynamically pulled from .env file to be able to run ollama in docker container as well as locally

  2. Dockerfile for bot modified:
    2.1. Python 3.13 is in early dev and has some errors with anyio library, so python 3.12 is used
    2.2. New user creating so the container does not run under root privileges

  3. Docker-compose modified:
    3.1. env_file parameter added instead of directly expose tokens
    3.2. ollama-server modified to use ollama in a docker container - commented part is to use Nvidia GPU
    3.3. depends_on parameter removed to be able run containers separately (to run ollama locally instead of docker container)

  4. Packages versions added to requirements.txt

  5. Readme.md updated

@ruecat
Copy link
Owner

ruecat commented Dec 11, 2023

Thanks for the PR!

@ruecat ruecat merged commit b00a5e2 into ruecat:main Dec 11, 2023
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