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:
co-authored by
Claude Haiku 5.5
parent
6578578acb
commit
9e8ffe2dc5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user