Skip to content

feat: Docker Compose setup for zero-dependency install#4

Merged
baramgay merged 2 commits into
mainfrom
feat/docker-compose
Jun 12, 2026
Merged

feat: Docker Compose setup for zero-dependency install#4
baramgay merged 2 commits into
mainfrom
feat/docker-compose

Conversation

@baramgay

Copy link
Copy Markdown
Owner

Closes #3

What's included

  • Dockerfilepython:3.11-slim, installs only core deps (fastapi, uvicorn, pydantic, openai, python-dotenv). Skips win10toast (Windows-only) and heavy optional deps (chromadb, sentence-transformers).
  • docker-compose.yml — single api service on port 8000, volume mounts for agents/, wiki/, and data files, AGENTS_HOME=/app wired in, optional .env passthrough.
  • README.md — Docker Quick Start section added at the top of the installation guide.

Usage

git clone https://github.com/baramgay/agentops.git
cd agentops
cp .env.example .env   # optional: fill in OPENAI_API_KEY for LLM features
docker compose up
# Dashboard → http://localhost:8000

Design notes

  • Single container: api_server.py already serves both API and static assets, so no nginx sidecar needed.
  • Volume mounts: agents/, wiki/, issues.json, agent_status.json, projects.json — host edits reflect instantly inside the container; state survives restarts.
  • Lean image: heavy optional deps excluded to keep the image small. Users who need chromadb can extend the Dockerfile or add a sidecar service.

Acceptance criteria

  • docker-compose.yml at repo root
  • Dockerfile for the API server
  • Volume mounts for agents/, wiki/, issues.json
  • AGENTS_HOME environment variable passthrough
  • README Quick Start updated

- Dockerfile: python:3.11-slim, core deps only (skips win10toast/chromadb)
- docker-compose.yml: single service, port 8000, volume mounts for agents/wiki/data files
- README: add Docker Quick Start section at top of installation guide

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ll override)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@baramgay baramgay merged commit e5b1027 into main Jun 12, 2026
3 of 4 checks passed
@baramgay baramgay deleted the feat/docker-compose branch June 12, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker Compose setup for zero-dependency install

1 participant