Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ OLLAMA_DATA=/home/${STACK_USER}/.ollama

# ── Ollama ────────────────────────────────────────────────────────────────────
OLLAMA_PORT=11434
OLLAMA_SSH_KEY=/home/${STACK_USER}/.ssh/id_ed25519_ollama
OLLAMA_SSH_KEY_PUB=/home/${STACK_USER}/.ssh/id_ed25519_ollama.pub
# Memory limits — adjust for your hardware.
# Intel Arc users: 16gb / 32g is a good starting point for a 32GB system.
# NVIDIA GPU users: match shm to your VRAM size.
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ services:
- OLLAMA_KEEP_ALIVE=-1
volumes:
- ${OLLAMA_DATA:-/home/user/.ollama}:/root/.ollama
- ${OLLAMA_SSH_KEY:-/dev/null}:/root/.ollama/id_ed25519:ro
- ${OLLAMA_SSH_KEY_PUB:-/dev/null}:/root/.ollama/id_ed25519.pub:ro
ports:
- "${OLLAMA_PORT:-11434}:11434"
shm_size: '${OLLAMA_SHM_SIZE:-2gb}'
Expand Down
4 changes: 3 additions & 1 deletion scripts/generate-olla-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ if [[ -f "$ENV_FILE" ]]; then
val="${val#\"}"; val="${val%\"}"
val="${val#\'}"; val="${val%\'}"
case "$key" in
OLLA_*|OLLAMA_REMOTE_*) eval "export $key=\$val" ;;
OLLA_*|OLLAMA_REMOTE_*)
declare -gx "$key=$val"
;;
esac
done < "$ENV_FILE"
fi
Expand Down