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