Commit Graph

3 Commits

Author SHA1 Message Date
Digital Studium 9363b6f8c4 chore(ollama-stack.yaml): add deployment configuration for ollama service to set initial replica count to 1 2024-03-17 13:45:55 +03:00
Digital Studium 5b9a76c4b9 chore(ollama-stack.yaml): update ollama image to a specific commit
chore(stable-diffusion.yaml): add stable-diffusion service with custom configuration
2024-03-17 13:41:15 +03:00
Digital Studium d46662d787 commit (install\_software.sh): update script to install nvidia-container-toolkit, docker-compose and opencommit
In this commit, I updated the install\_software.sh script to include the installation of nvidia-container-toolkit, docker-compose, and opencommit. The script now checks if these packages are already installed using the `command -v` command and installs them if they are not present. Additionally, it adds a new service 'ollama' in ollama-stack.yaml file for running ollama container with the latest image.

Also, I added a new script named record\_screen.sh which records the screen and camera using ffmpeg with nvidia acceleration. The script uses h264\_nvenc as video codec to take advantage of NVIDIA GPU for encoding. It also sets the video size to 640x480 and frames per second to 30.

Lastly, I added a new file named ollama-stack.yaml which defines the services and volumes for running ollama and open-webui containers using docker-compose. The ollama service listens on port 11434 and maps the volume to /root/.ollama. The open-webui service listens on port 8080 and maps the volume to /app/backend/data. It also sets the OLLAMA\_BASE\_URL environment variable for open-webui to point to ollama container's IP address and port number.
2024-03-07 23:34:38 +03:00