Skip to content

Commit

Permalink
catching branch up to master
Browse files Browse the repository at this point in the history
  • Loading branch information
salverius-tech committed Mar 24, 2024
2 parents 1700003 + 5d66848 commit 64577c7
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 14 deletions.
2 changes: 1 addition & 1 deletion SERVICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
- [homebox](https://hay-kot.github.io/homebox/): Dashboard for managing self-hosted services
- [homepage](https://github.com/gethomepage/homepage/): Customizable start page for web browsers
- [homer](https://hub.docker.com/r/b4bz/homer): Self-hosted bookmark manager
- [immich](https://immich.app/docs/install/environment-variables): Container for running immich, a web-based image viewer
- [immich](https://immich.app/docs/install/environment-variables): Container for running immich, a self-hosted Google Photos alternative.
- [influxdb](https://hub.docker.com/_/influxdb): Time-series database for metrics and events
- [itflow](https://itflow.org/): Workflow automation tool
- [jellyfin](https://hub.docker.com/r/linuxserver/jellyfin): Media server for streaming content
Expand Down
14 changes: 14 additions & 0 deletions make.d/ai.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#########################################################
##
## ai commands
##
#########################################################

ifndef OLLAMA_CONTAINER_NAME
OLLAMA_CONTAINER_NAME=ollama
endif

ollama_cmd = @docker exec -it $(OLLAMA_CONTAINER_NAME) $(OLLAMA_CONTAINER_NAME)

pull-model: ## pull a ollama model with the name of the first argument passed
$(ollama_cmd) pull $(first_arg)
2 changes: 1 addition & 1 deletion services-available/immich.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: '3'
# description: Container for running immich, a web-based image viewer
# description: Container for running immich, a self-hosted Google Photos alternative.
# https://immich.app/docs/install/environment-variables

networks:
Expand Down
28 changes: 16 additions & 12 deletions services-available/ollama-nvidia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@ networks:
traefik:
external: true

volumes:
ollama:

# description: Eeasy way to run large language models locally - Nvidia GPU
# https://hub.docker.com/r/ollama/ollama
# https://github.com/ollama/ollama

# docker exec -it ollama ollama pull llama2 # https://ollama.com/library/llama2 [4 GB]
# docker exec -it ollama ollama pull llama2:chat # [4 GB]
# docker exec -it ollama ollama pull llama2:13b-chat # [7.5 GB]
# docker exec -it ollama ollama pull mistral # https://ollama.com/library/mistral [4 GB]
# docker exec -it ollama ollama pull mixtral # https://ollama.com/library/mixtral [26 GB]
# docker exec -it ollama ollama pull codellama # https://ollama.com/library/codellama [4 GB]
# docker exec -it ollama ollama pull openhermes # [4 GB]
# docker exec -it ollama ollama pull dolphin-mistral
# docker exec -it ollama ollama pull llama2 # https://ollama.com/library/llama2 [4 GB]
# docker exec -it ollama ollama pull llama2:chat # [4 GB]
# docker exec -it ollama ollama pull llama2:13b-chat # [7.5 GB]
# docker exec -it ollama ollama pull mistral # https://ollama.com/library/mistral [4 GB]
# docker exec -it ollama ollama pull mixtral # https://ollama.com/library/mixtral [26 GB]
# docker exec -it ollama ollama pull codellama # https://ollama.com/library/codellama [4 GB]
# docker exec -it ollama ollama pull codellama:7b-python
# docker exec -it ollama ollama pull openhermes # [4 GB]
# docker exec -it ollama ollama pull dolphin-mistral # https://ollama.com/library/dolphin-mistral [4 GB]
# docker exec -it ollama ollama pull dolphin-mixtral # https://ollama.com/library/dolphin-mixtral [26GB]
# docker exec -it ollama ollama pull stable-code
# docker exec -it ollama ollama pull dolphincoder
# docker exec -it ollama ollama pull tinydolphin
# docker exec -it ollama ollama pull sqlcoder


services:
ollama:
Expand All @@ -28,7 +32,7 @@ services:
networks:
- traefik
volumes:
- ollama:/root/.ollama
- ${OLLAMA_DATA_PATH:-./media/ollama}:/root/.ollama
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
Expand Down

0 comments on commit 64577c7

Please sign in to comment.