fix(api): keep unconfigured services running and preserve Docker onboarding

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-19 13:02:26 +08:00
1 parent e20737a509
commit de8fbc3ad2
13 files changed
+133 -63

No files matched your search

-5
View File
@@ -45,11 +45,6 @@ services:
nanobot-api:
container_name: nanobot-api
<<: *common-config
# Optional: the OpenAI-compatible API needs a configured provider before it
# can serve, so it is not part of the default `docker compose up`. Start it
# with `docker compose --profile api up -d` once a provider is configured.
profiles:
- api
command:
["serve", "--host", "0.0.0.0", "-w", "/home/nanobot/.nanobot/api-workspace"]
restart: unless-stopped