first commit
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
services:
|
||||
postgres:
|
||||
image: pgvector/pgvector:pg16
|
||||
container_name: agentic-research-pg
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "5432:5432"
|
||||
environment:
|
||||
POSTGRES_DB: research
|
||||
POSTGRES_USER: research
|
||||
POSTGRES_PASSWORD: research123
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
- ./migrations/init.sql:/docker-entrypoint-initdb.d/01-init.sql
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U research -d research"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
marker-api:
|
||||
build:
|
||||
context: ./marker-api
|
||||
dockerfile: Dockerfile
|
||||
container_name: agentic-research-marker
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8001:8001"
|
||||
environment:
|
||||
OLLAMA_URL: http://10.0.1.127:11434
|
||||
OCR_URL: http://10.0.1.127:11434
|
||||
DEEPSEEK_OCR_URL: http://10.0.1.127:11434
|
||||
DEEPSEEK_OCR_MODEL: deepseek-ocr
|
||||
LLM_BACKEND: ollama
|
||||
LLM_URL: http://10.0.1.127:11434
|
||||
MARKER_WORKSPACE: /workspace/marker_output
|
||||
volumes:
|
||||
- marker_ws:/workspace
|
||||
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: agentic-research-app
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8000:8000"
|
||||
environment:
|
||||
OLLAMA_URL: http://10.0.1.127:11434
|
||||
GPT_OSS_MODEL: gpt-oss:20b
|
||||
MARKER_API_URL: http://marker-api:8001
|
||||
DB_HOST: postgres
|
||||
DB_PORT: 5432
|
||||
DB_NAME: research
|
||||
DB_USER: research
|
||||
DB_PASSWORD: research123
|
||||
DOC_STORE_DIR: /workspace/documents
|
||||
VECTOR_DIM: 4096
|
||||
volumes:
|
||||
- app_ws:/workspace
|
||||
depends_on:
|
||||
- postgres
|
||||
- marker-api
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
marker_ws:
|
||||
app_ws:
|
||||
Reference in New Issue
Block a user