58 lines
3.0 KiB
Bash
58 lines
3.0 KiB
Bash
|
||
UNSPLASH_ACCESS_KEY=cgg70EFDE5B23YA0-IkfDVKef4FcKQJzkDVwp2QhnY0
|
||
PEXELS_API_KEY=y7Fm3aGM9MlS9nq8ttsMEowcaCFRibFvxpp6ABg97ZupAoYNHWKSU5Z7
|
||
|
||
|
||
|
||
|
||
# ============================================================
|
||
# SmallClaw – environment variables
|
||
# Copy this file to .env and customise it.
|
||
# docker-compose.yml reads these automatically.
|
||
# ============================================================
|
||
|
||
# ── Active provider ─────────────────────────────────────────
|
||
# One of: ollama | lm_studio | llama_cpp | openai | openai_codex
|
||
SMALLCLAW_PROVIDER=ollama
|
||
|
||
# ── Port ────────────────────────────────────────────────────
|
||
# Port the SmallClaw gateway will be accessible on the HOST
|
||
# The app internally always runs on 18789 inside the container.
|
||
# Change HOST_PORT to map it to a different port on your machine.
|
||
HOST_PORT=18789
|
||
|
||
# ── Ollama (default) ────────────────────────────────────────
|
||
# Model to auto-pull on first run (only used when PROVIDER=ollama)
|
||
SMALLCLAW_DEFAULT_MODEL=qwen3:4b
|
||
# Ollama endpoint (leave as-is when using the bundled ollama container)
|
||
# Change to http://host.docker.internal:11434 to use Ollama on your host machine
|
||
OLLAMA_HOST=http://ollama:11434
|
||
|
||
# ── LM Studio ───────────────────────────────────────────────
|
||
# LM Studio runs on the HOST, not inside Docker.
|
||
# Use host.docker.internal to reach it from inside the container.
|
||
LM_STUDIO_ENDPOINT=http://host.docker.internal:1234
|
||
# LM_STUDIO_API_KEY= # optional – only if you enabled auth in LM Studio
|
||
# LM_STUDIO_MODEL= # e.g. mistral-nemo-instruct-2407
|
||
|
||
# ── llama.cpp ───────────────────────────────────────────────
|
||
# llama.cpp server also runs on the HOST.
|
||
LLAMA_CPP_ENDPOINT=http://host.docker.internal:8080
|
||
# LLAMA_CPP_MODEL= # e.g. Meta-Llama-3-8B-Instruct.Q4_K_M.gguf
|
||
|
||
# ── OpenAI (API key) ────────────────────────────────────────
|
||
OPENAI_API_KEY=
|
||
# OPENAI_MODEL=gpt-4o
|
||
|
||
# ── OpenAI Codex (OAuth / ChatGPT Plus) ─────────────────────
|
||
# No key needed – SmallClaw handles the OAuth flow.
|
||
# Mount your .smallclaw dir (see docker-compose.yml) so tokens persist.
|
||
# CODEX_MODEL=gpt-5.3-codex
|
||
|
||
# ── Image search for PPTX creation ──────────────────────────
|
||
# At least one of these is needed for image_search on slides.
|
||
# Unsplash: https://unsplash.com/developers (free: 50 req/hour)
|
||
# UNSPLASH_ACCESS_KEY=
|
||
# Pexels: https://www.pexels.com/api/ (free: 200 req/hour)
|
||
# PEXELS_API_KEY=
|