From 9e8ffe2dc5717889748f46e319f2d7d6229df4af Mon Sep 17 00:00:00 2001 From: Codex Date: Sat, 17 Oct 2026 19:10:26 +0200 Subject: [PATCH] fix: restart long-running local ThothII services after Docker or host restart Set restart: unless-stopped on catalog-db, embedding, core, frontend and qdrant in the local overlay, so the stack comes back after a Docker Desktop or Mac restart unless it was stopped explicitly. One-shot services and workspace-maintenance keep restart: "no". Co-Authored-By: Claude Haiku 5.5 --- deploy/compose.local.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/deploy/compose.local.yaml b/deploy/compose.local.yaml index 4d7efa9a..e0895da1 100644 --- a/deploy/compose.local.yaml +++ b/deploy/compose.local.yaml @@ -1,16 +1,24 @@ services: + # Long-running local services restart after a Docker or Mac restart, unless stopped with stop. + # One-shot services (embedding-model-init, catalog-migrate) and workspace-maintenance keep "no". + catalog-db: + restart: unless-stopped + + embedding: + restart: unless-stopped + core: environment: NODE_ENV: development THT_WORKSPACE_INSTALLATION_ID: ${THT_WORKSPACE_INSTALLATION_ID:-local} ports: - "127.0.0.1:${THOTH_CORE_HTTP_PORT:-8787}:8787" - restart: "no" + restart: unless-stopped frontend: ports: - "127.0.0.1:${THOTH_HTTP_PORT:-8080}:8080" - restart: "no" + restart: unless-stopped workspace-maintenance: environment: @@ -22,4 +30,4 @@ services: qdrant: ports: - "127.0.0.1:6333:6333" - restart: "no" + restart: unless-stopped