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 <noreply@anthropic.com>
This commit is contained in:
Codex
2026-10-17 19:10:26 +02:00
co-authored by Claude Haiku 5.5
parent 6578578acb
commit 9e8ffe2dc5
+11 -3
View File
@@ -1,16 +1,24 @@
services: 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: core:
environment: environment:
NODE_ENV: development NODE_ENV: development
THT_WORKSPACE_INSTALLATION_ID: ${THT_WORKSPACE_INSTALLATION_ID:-local} THT_WORKSPACE_INSTALLATION_ID: ${THT_WORKSPACE_INSTALLATION_ID:-local}
ports: ports:
- "127.0.0.1:${THOTH_CORE_HTTP_PORT:-8787}:8787" - "127.0.0.1:${THOTH_CORE_HTTP_PORT:-8787}:8787"
restart: "no" restart: unless-stopped
frontend: frontend:
ports: ports:
- "127.0.0.1:${THOTH_HTTP_PORT:-8080}:8080" - "127.0.0.1:${THOTH_HTTP_PORT:-8080}:8080"
restart: "no" restart: unless-stopped
workspace-maintenance: workspace-maintenance:
environment: environment:
@@ -22,4 +30,4 @@ services:
qdrant: qdrant:
ports: ports:
- "127.0.0.1:6333:6333" - "127.0.0.1:6333:6333"
restart: "no" restart: unless-stopped