Tests / bridge tests (push) Failing after 7s
Tests / writer-pipeline tests (push) Successful in 31s
Tests / frontend lib tests (push) Successful in 31s
Tests / writer-pipeline tests (pull_request) Successful in 26s
Tests / bridge tests (pull_request) Successful in 27s
Tests / frontend lib tests (pull_request) Successful in 31s
Add html_listing ingest for Record and A Bola andebol sections and revista_imprensa PDF index parsing from FPA media. Document AGGREGATOR_URL in bridge.env.example and AGGREGATOR_OPERATIONS.md. Paperclip-Issue: BIT-25559 Paperclip-Run: 0ab092e1-68ab-4e5a-90bd-4262e9c3d9fc
28 lines
875 B
Bash
28 lines
875 B
Bash
# Fastify Bridge API environment
|
|
# Deploy to /etc/news-platform/bridge.env on the LXC
|
|
# Values are deployment-specific; secrets in vault
|
|
|
|
NODE_ENV=production
|
|
PORT=3200
|
|
|
|
# Per-host domain JSON (andebol.net, newsproject.bitreport.pt)
|
|
DOMAINS_CONFIG_PATH=/opt/news-platform/config/domains
|
|
DEFAULT_HOST=andebol.net
|
|
HOST=127.0.0.1
|
|
|
|
# WordPress REST API base URL (Docker, internal)
|
|
WP_API_URL=http://127.0.0.1:8080/wp-json/wp/v2
|
|
|
|
# Redis cache (installed on host)
|
|
REDIS_URL=redis://127.0.0.1:6379
|
|
|
|
# Writer-pipeline aggregator (loopback — required for /writers/:id/candidates mix)
|
|
AGGREGATOR_URL=http://127.0.0.1:3310
|
|
|
|
# Cache TTL in seconds (default 5 min for articles, 1 min for homepage)
|
|
CACHE_TTL_ARTICLES=300
|
|
CACHE_TTL_HOMEPAGE=60
|
|
|
|
# Absolute path to domain JSON files (bridge reads this env key or DOMAINS_CONFIG_PATH)
|
|
DOMAINS_CONFIG_PATH=/opt/news-platform/config/domains
|