Files
ThothII/deploy/compose.preprocess.yaml
T

43 lines
1.4 KiB
YAML

services:
preprocess-evidence:
image: thothii-core:local
profiles: [preprocess]
build:
context: .
dockerfile: docker/core.Dockerfile
entrypoint: [sh, -ec]
command: ["mkdir -p /data/workspaces/preprocess-evidence && exec /app/docker/core-entrypoint.sh preprocess evidence --json -c /app/harness/workspaces/preprocess-evidence.yaml"]
environment:
THT_DATA_ROOT: /data
THT_SECRETS_FILE: /run/secrets/thothii.secrets
secrets: [{source: thothii_secrets, target: thothii.secrets}]
volumes:
- thoth_data:/data
- ./deploy/workspaces:/app/harness/workspaces:ro
restart: "no"
depends_on:
qdrant:
condition: service_healthy
embedding-model-init:
condition: service_completed_successfully
preprocess-dwh:
image: thothii-core:local
profiles: [preprocess]
build:
context: .
dockerfile: docker/core.Dockerfile
entrypoint: [sh, -ec]
command: ["mkdir -p /data/workspaces/preprocess-dwh && exec /app/docker/core-entrypoint.sh preprocess dwh --steps introspect --json -c /app/harness/workspaces/preprocess-dwh.yaml"]
environment:
THT_DATA_ROOT: /data
THT_SECRETS_FILE: /run/secrets/thothii.secrets
secrets: [{source: thothii_secrets, target: thothii.secrets}]
volumes:
- thoth_data:/data
- ./deploy/workspaces:/app/harness/workspaces:ro
restart: "no"
volumes:
thoth_data: