Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
Simplify Docker Compose docs and remove fixed CLI container name
Re-binaad1df5b9b13
diff --git a/README.md b/README.mdindex f5a92fd79..96ff557db 100644--- a/README.md+++ b/README.md@@ -811,40 +811,21 @@ nanobot cron remove <job_id>> [!TIP]> The `-v ~/.nanobot:/root/.nanobot` flag mounts your local config directory into the container, so your config and workspace persist across container restarts.-### Using Docker Compose (Recommended)--The easiest way to run nanobot with Docker:+### Docker Compose```bash-# 1. Initialize config (first time only)-docker compose run --rm nanobot-cli onboard--# 2. Edit config to add API keys-vim ~/.nanobot/config.json--# 3. Start gateway service-docker compose up -d nanobot-gateway--# 4. Check logs-docker compose logs -f nanobot-gateway--# 5. Run CLI commands-docker compose run --rm nanobot-cli status-docker compose run --rm nanobot-cli agent -m "Hello!"--# 6. Stop services-docker compose down+docker compose run --rm nanobot-cli onboard # first-time setup+vim ~/.nanobot/config.json # add API keys+docker compose up -d nanobot-gateway # start gateway```-**Features:**-- ✅ Resource limits (1 CPU, 1GB memory)-- ✅ Auto-restart on failure-- ✅ Shared configuration using YAML anchors-- ✅ Separate CLI profile for on-demand commands--### Using Docker directly+```bash+docker compose run --rm nanobot-cli agent -m "Hello!" # run CLI+docker compose logs -f nanobot-gateway # view logs+docker compose down # stop+```-Build and run nanobot in a container:+### Docker```bash# Build the imagediff --git a/docker-compose.yml b/docker-compose.ymlindex 446f5e335..5c27f81a0 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -23,7 +23,6 @@ services:memory: 256Mnanobot-cli:- container_name: nanobot-cli<<: *common-configprofiles:- cli