Files
ThothII/deploy/compose.local.yaml
T
CodexandClaude Haiku 5.5 9e8ffe2dc5 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>
2026-10-17 19:10:26 +02:00

34 lines
985 B
YAML

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: unless-stopped
frontend:
ports:
- "127.0.0.1:${THOTH_HTTP_PORT:-8080}:8080"
restart: unless-stopped
workspace-maintenance:
environment:
THT_WORKSPACE_INSTALLATION_ID: ${THT_WORKSPACE_INSTALLATION_ID:-local}
restart: "no"
# Local development only: expose the built-in Qdrant web dashboard on loopback.
# The server profile keeps Qdrant private on the Compose network.
qdrant:
ports:
- "127.0.0.1:6333:6333"
restart: unless-stopped