Short answer: install Docker, clone odysseus-dev/odysseus, run docker compose up -d --build, open http://localhost:7011, and log in as admin with the temporary password from docker compose logs odysseus. The rest of this guide explains each step and the errors people hit most.
Docker Compose is the install path the Odysseus project itself recommends. It starts the app together with the services it depends on, keeps your data in a local folder, and binds everything to 127.0.0.1 so nothing is exposed to your network by default. If you have not decided yet whether Odysseus AI is right for you, read what Odysseus AI is first or try the hosted demo.
What you need before you start
- Docker with Compose v2. Docker Desktop on macOS or Windows, or Docker Engine plus the Compose plugin on Linux. The command is docker compose (with a space).
- git, to clone the repository.
- A free local port. The default Compose file publishes the web UI on 127.0.0.1:7011.
- Hardware for the models you plan to run. The Odysseus app itself is lightweight. Local model serving is the heavy part and depends on the model, the runtime, your GPU, and its VRAM. A small machine can still run Odysseus well by connecting to an API provider or a model server on another computer.
Apple Silicon note: Docker on macOS cannot use the Metal GPU, so the built-in Cookbook can only serve local models on the CPU inside Docker. If you want GPU-accelerated local models on an M-series Mac, use the native ./start-macos.sh script instead, which serves on port 7860.
Step 1: Clone the repository
git clone https://github.com/odysseus-dev/odysseus.git
cd odysseus
The old URL github.com/pewdiepie-archdaemon/odysseus redirects to the same repository. The default branch is dev, which gets the newest changes first and can occasionally be unstable. If you prefer the more curated branch, switch to it before starting:
git checkout main
Step 2: Create your .env file
cp .env.example .env
This step is optional, but it gives you an explicit file to edit later. The defaults work out of the box. Only use .env for deployment-level settings such as APP_BIND, APP_PORT, AUTH_ENABLED, or DATABASE_URL. Models, search, and email are configured inside the app under Settings, not in this file.
Step 3: Start the stack with Docker Compose
docker compose up -d --build
Compose starts four containers:
| Container | What it does |
|---|---|
| odysseus | The web app and API |
| chromadb | Vector store for memory and retrieval |
| searxng | Private web search used by research and agents |
| ntfy | Push notifications for reminders and scheduled tasks |
The Compose file references the official multi-arch image ghcr.io/odysseus-dev/odysseus. When that image can be pulled, Compose uses it; the --build flag forces a local build from source instead. The first start takes a few minutes while images download and the containers become healthy. The Odysseus container waits for SearXNG to pass its health check before it starts.
Want the optional extras such as the PDF viewer and Office document extraction? Build with them before starting:
docker compose build --build-arg INSTALL_OPTIONAL=true
docker compose up -d
Step 4: Get the admin password and log in
On first boot Odysseus creates an admin account called admin (unless you set ODYSSEUS_ADMIN_USER) and prints a temporary password to the logs:
docker compose logs odysseus
Open http://localhost:7011 in your browser, sign in with that password, and change it right away in Settings.
How to check that the install worked
Run these three commands from the odysseus folder:
docker compose ps
docker compose logs --tail=120 odysseus
docker compose logs odysseus | grep -E 'ChromaDB|MemoryVectorStore|DEGRADED'
- docker compose ps should list all four containers as running, with health checks passing.
- The last 120 log lines should end without repeating errors.
- The grep line is a quick memory check. A DEGRADED message means the vector store did not connect, so memory and retrieval will not work until ChromaDB is healthy.
Finally, add one model endpoint (see the Odysseus model setup guide) and send a short chat message. If you get an answer, the install is complete.
Common errors and how to fix them
The port is already in use
If 7011 is taken by another service, pick a different port in .env and recreate the container:
APP_PORT=7012
docker compose up -d
On macOS, the AirPlay Receiver often holds port 7000, which is why the native macOS script uses 7860.
The page loads on the host but not on my phone or another computer
That is the secure default: Compose binds the UI to 127.0.0.1. Set APP_BIND=0.0.0.0 in .env only when you really want LAN or reverse-proxy access, and keep AUTH_ENABLED=true. Do not expose the raw port to the public internet; put HTTPS and a trusted reverse proxy, Tailscale, or a similar private access layer in front of it.
Odysseus in Docker cannot reach Ollama on my computer
Inside a container, localhost means the container, not your computer. Add this endpoint in Settings instead:
http://host.docker.internal:11434/v1
Ollama must also listen outside its own loopback interface:
OLLAMA_HOST=0.0.0.0:11434 ollama serve
The Compose file already maps host.docker.internal to the host gateway, so this works on Linux as well.
Local models do not use my GPU
The Cookbook can only see GPUs that Docker passes into the container. For NVIDIA, the project ships a read-only diagnostic script:
scripts/check-docker-gpu.sh
Once passthrough works, enable the GPU overlay in .env and verify it inside the container:
COMPOSE_FILE=docker-compose.yml:docker/gpu.nvidia.yml
docker compose up -d --build
docker compose exec odysseus nvidia-smi -L
AMD users have scripts/check-docker-amd-gpu.sh and the docker/gpu.amd.yml overlay. If the Cookbook logs say Unable to find cudart library, GPU passthrough is fine; reinstall the serve engine from Cookbook → Dependencies to get a CUDA-enabled build.
Where are the logs and my data?
- Logs: docker compose logs odysseus, plus the ./logs folder (set with APP_LOGS_DIR).
- Data: the ./data folder (set with APP_DATA_DIR). It holds the database, uploads, memory, settings, and downloaded models. Back it up before major upgrades and never commit it to Git.
Updating and pinning a version
To update, pull the latest code in the odysseus folder and recreate the containers with docker compose up -d --build. The :latest image tag moves on every push to main. For a production server, pin an immutable build tag in .env instead:
ODYSSEUS_IMAGE=ghcr.io/odysseus-dev/odysseus:1.0.2-7c8070f
Replace the tag with a current one from the project's GitHub container registry page.
Security checklist before you share access
- Keep AUTH_ENABLED=true and LOCALHOST_BYPASS=false.
- Review data/auth.json after first boot: disable open signup unless you want it, and keep only your own account as admin.
- Keep ChromaDB, SearXNG, ntfy, and any model server ports internal. Expose only the authenticated Odysseus entrypoint.
- Rotate any API key that was ever pasted into a shared chat, screenshot, or log.
Next steps
- Connect a model: follow the Odysseus model setup guide for Ollama, OpenAI, and OpenRouter.
- Compare self-hosting with the hosted option on the Odysseus AI pricing page.
- Read the official setup guide on GitHub for native Windows, macOS, and HTTPS details.