mirror of
https://git.myvelabs.com/docker/docker-compose.yaml.git
synced 2025-12-17 21:26:17 +00:00
Reboot
This commit is contained in:
parent
b7336a277f
commit
e650d80b1e
58 changed files with 1747 additions and 0 deletions
9
ollama/.env
Normal file
9
ollama/.env
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Environment file for docker-compose.yaml
|
||||
# Generate new passwords with:
|
||||
# openssl rand -hex 32
|
||||
|
||||
# Fill in registry
|
||||
REGISTRY=
|
||||
|
||||
# Ollama
|
||||
OLLAMA_PORT=4100
|
||||
43
ollama/docker-compose.yaml
Normal file
43
ollama/docker-compose.yaml
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
services:
|
||||
|
||||
# https://github.com/open-webui/open-webui
|
||||
ollama:
|
||||
image: ${REGISTRY}/ollama
|
||||
container_name: ollama
|
||||
restart: unless-stopped
|
||||
pull_policy: always
|
||||
tty: true
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: all
|
||||
capabilities:
|
||||
- gpu
|
||||
volumes:
|
||||
- ./app:/root/.ollama
|
||||
networks:
|
||||
- ollama
|
||||
ollama-webui:
|
||||
image: ${REGISTRY}/open-webui
|
||||
container_name: ollama-webui
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${OLLAMA_PORT:-8080}:8080
|
||||
environment:
|
||||
OLLAMA_BASE_URL: http://ollama:11434
|
||||
CUSTOM_NAME: MyveAI
|
||||
WEBUI_NAME: MyveAI
|
||||
ENABLE_SIGNUP: False
|
||||
DEFAULT_MODELS: llama3
|
||||
volumes:
|
||||
- ./webui:/app/backend/data
|
||||
depends_on:
|
||||
- ollama
|
||||
networks:
|
||||
- ollama
|
||||
|
||||
networks:
|
||||
ollama:
|
||||
external: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue