feat(dev): enable isolated local workers and verified Ollama
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# Apply only to the separately verified standalone jobjakt-dev stack.
|
||||
services:
|
||||
backend:
|
||||
environment:
|
||||
Workers__RulesEnabled: "true"
|
||||
Workers__FollowUpRemindersEnabled: "true"
|
||||
Workers__SavedJobSearchAlertsEnabled: "true"
|
||||
Workers__DailyExportEnabled: "true"
|
||||
Workers__JobEnrichmentEnabled: "true"
|
||||
Workers__AiOperationsEnabled: "true"
|
||||
Workers__CvDocumentImportsEnabled: "true"
|
||||
Exports__DailyEnabled: "true"
|
||||
Email__FollowUpReminders__Enabled: "true"
|
||||
Email__Enabled: "true"
|
||||
Email__SmtpHost: mailpit
|
||||
Email__SmtpPort: "1025"
|
||||
Email__SmtpEnableSsl: "false"
|
||||
Email__SmtpUser: ""
|
||||
Email__SmtpPassword: ""
|
||||
Ai__ExternalProcessingEnabled: "false"
|
||||
Ai__RequestTimeoutSeconds: "240"
|
||||
ai-service:
|
||||
# Previously qualified local image contains both the legacy and isolated Docling runtimes.
|
||||
image: jobtracker-cv-import-sidecar:dev-04
|
||||
environment:
|
||||
OLLAMA_BASE_URL: http://jobjakt-dev-ollama:11434
|
||||
OLLAMA_MODEL: qwen2.5:7b
|
||||
AI_PROVIDER: ollama
|
||||
AI_ROUTING_MODE: local_only
|
||||
EXTERNAL_AI_ENABLED: "false"
|
||||
CV_IMPORT_AI_ENABLED: "false"
|
||||
AI_SERVICE_SKIP_MODEL_LOAD: "0"
|
||||
SKIP_MODEL_LOAD: "0"
|
||||
HF_HOME: /models
|
||||
HF_HUB_OFFLINE: "1"
|
||||
TRANSFORMERS_OFFLINE: "1"
|
||||
HF_HUB_DISABLE_TELEMETRY: "1"
|
||||
OMP_NUM_THREADS: "2"
|
||||
MKL_NUM_THREADS: "2"
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ${JOBTRACKER_DEV_BART_ARTIFACT:?Verify the isolated trained checkpoint first}
|
||||
target: /models/hub/models--sshleifer--distilbart-cnn-12-6/snapshots/a4f8f3ea906ed274767e9906dbaede7531d660ff
|
||||
read_only: true
|
||||
mem_limit: 4g
|
||||
cpus: 2
|
||||
pids_limit: 256
|
||||
Reference in New Issue
Block a user