name: thothii x-smoke-labels: &smoke-labels io.thothii.smoke-owner: "${THOTH_SMOKE_OWNER:-operator}" services: core: image: thothii-core:local build: context: . dockerfile: docker/core.Dockerfile labels: *smoke-labels environment: AUTH_MODE: "${AUTH_MODE:-none}" THOTH_PUBLIC_EXPOSURE: "${THOTH_PUBLIC_EXPOSURE:-false}" PI_PROVIDER: "${PI_PROVIDER:-}" PI_MODEL: "${PI_MODEL:-}" PI_THINKING: "${PI_THINKING:-}" MAX_PI_PROCESSES: "${MAX_PI_PROCESSES:-4}" THT_DB_NAME: "${THT_DB_NAME:-}" THT_DWH_REST_URL: "${THT_DWH_REST_URL:-}" THT_VEC_REST_URL: "${THT_VEC_REST_URL:-}" THT_OLLAMA_URL: "${THT_OLLAMA_URL:-}" THT_DOCS_ROOT: "${THT_DOCS_ROOT:-/data/workspaces/example/evidence-source}" THT_SECRETS_FILE: /run/secrets/thothii.secrets THT_DATA_ROOT: /data SETTINGS_FILE: /data/settings/settings.json secrets: - source: thothii_secrets target: thothii.secrets volumes: - thoth_data:/data - ./deploy/workspaces:/app/harness/workspaces:ro healthcheck: test: [CMD, curl, --fail, --silent, http://127.0.0.1:8787/health] interval: 5s timeout: 3s retries: 12 start_period: 10s restart: unless-stopped frontend: build: context: . dockerfile: docker/frontend.Dockerfile labels: *smoke-labels environment: BACKEND_BASE_URL: /api ports: - "127.0.0.1:${THOTH_HTTP_PORT:-8080}:8080" depends_on: core: condition: service_healthy healthcheck: test: [CMD, wget, --quiet, --spider, http://127.0.0.1:8080/health] interval: 5s timeout: 3s retries: 12 start_period: 5s restart: unless-stopped volumes: thoth_data: labels: *smoke-labels networks: default: labels: *smoke-labels secrets: thothii_secrets: file: "${THT_SECRETS_FILE:-deploy/secrets/thothii.secrets}"