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
4 changes: 3 additions & 1 deletion docker-compose.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
services:
postgres:
image: pgvector/pgvector:pg18-trixie
# platform: linux/amd64 # uncomment on Apple Silicon if pgvector arm64 build is missing
container_name: lobu-postgres
environment:
POSTGRES_USER: lobu
Expand All @@ -24,7 +25,7 @@ services:
ports:
- "5433:5432"
volumes:
- lobu_pgdata:/var/lib/postgresql/data
- lobu_pgdata:/var/lib/postgresql
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U lobu -d lobu"]
Expand All @@ -34,6 +35,7 @@ services:

lobu:
image: ghcr.io/lobu-ai/lobu-app:latest
# platform: linux/amd64 # required on Apple Silicon until multi-arch image lands (see GitHub Issues)
container_name: lobu-app
ports:
- "8787:8787"
Expand Down
4 changes: 4 additions & 0 deletions docs/DOCKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ That's it. Sign up via the admin UI, add provider API keys from the settings pag
| `OPENAI_API_KEY` / `GROQ_API_KEY` / etc. | No | Same as Anthropic — set only the providers you want available, or add them via the admin UI at runtime. |
| `WORKER_ALLOWED_DOMAINS` | Optional | Default empty = workers have no internet. Comma-separated allowlist, or `*` for unrestricted (not recommended in prod). See `.env.example` for the full pattern. |

## Apple Silicon (M1/M2/M3) note

The published image is currently amd64-only. Docker on Apple Silicon refuses to pull mismatched-architecture images unless you opt into emulation. Uncomment the `platform: linux/amd64` line in `docker-compose.example.yml` to run it via Rosetta — slightly slower but functional. A multi-arch image is planned; once published, drop the override.

## Boot errors and how to read them

A failing boot now prints the actual error (type, message, stack, and Zod-validation issues). If you see:
Expand Down
Loading