- 3-step OpenRouter pipeline: Gatekeeper scoring/classification, PubMed+Google URL extraction, Markdown summary generation - REST worker routes /wp-json/peptide-news/v1/worker/* with X-Peptide-News-Token auth - Standalone Coolify worker (tools/vps-worker) with Dockerfile + docker-compose - CLI commands, content extractor, pubmed extractor, google url resolver - 89 PHPUnit tests passing
15 lines
380 B
YAML
15 lines
380 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
peptide-worker:
|
|
build: .
|
|
image: peptide-news-worker:v2.6.0
|
|
restart: "no"
|
|
environment:
|
|
WP_URL: "https://your-shared-wordpress-site.com"
|
|
VPS_TOKEN: "your_secret_vps_token"
|
|
WORKER_ACTION: "process-llm"
|
|
OPENROUTER_KEY: "sk-or-v1-your-key"
|
|
OPENROUTER_MODEL: "google/gemini-2.0-flash-001"
|
|
BATCH_SIZE: "25"
|