build(compose): make root startup the default
This commit is contained in:
+17
-2
@@ -6,7 +6,6 @@ x-smoke-labels: &smoke-labels
|
||||
services:
|
||||
core:
|
||||
image: thothii-core:local
|
||||
profiles: [external]
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/core.Dockerfile
|
||||
@@ -14,8 +13,21 @@ services:
|
||||
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
|
||||
@@ -28,7 +40,6 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
frontend:
|
||||
profiles: [external]
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/frontend.Dockerfile
|
||||
@@ -55,3 +66,7 @@ volumes:
|
||||
networks:
|
||||
default:
|
||||
labels: *smoke-labels
|
||||
|
||||
secrets:
|
||||
thothii_secrets:
|
||||
file: "${THT_SECRETS_FILE:-deploy/secrets/thothii.secrets}"
|
||||
|
||||
Reference in New Issue
Block a user