Files
news-platform/deploy/systemd/writer-newsproject.env.example
Artur MoreiraandCursor 7c0a515368
Tests / writer-pipeline tests (push) Failing after 5s
Tests / bridge tests (push) Failing after 6s
Tests / frontend lib tests (push) Successful in 14s
Tests / writer-pipeline tests (pull_request) Successful in 11s
Tests / bridge tests (pull_request) Successful in 13s
Tests / frontend lib tests (pull_request) Successful in 14s
feat(writer-pipeline): newsproject.bitreport.pt writer cycle and WP env split
Add site-scoped WP credentials (NEWSPROJECT_* vs ANDEBOL_*), RSS sources
config, systemd oneshot/timer offset from andebol, env template, and
deployment docs so BIT-22288 covers both stacks.

Co-authored-by: Cursor <[email protected]>
2026-05-14 14:40:09 +00:00

23 lines
942 B
Bash

# Writer Pipeline — newsproject.bitreport.pt environment
# Deploy to /etc/news-platform/writer-newsproject.env on the LXC
# Secrets (WP app password) must be kept out of version control.
NODE_ENV=production
# WordPress REST API base (Docker compose default stack — port 8080)
NEWSPROJECT_WP_BASE=http://127.0.0.1:8080/wp-json
# WordPress application credentials — generate in WP Users → Application Passwords
NEWSPROJECT_WP_USER=writer-bot
NEWSPROJECT_WP_APP_PASSWORD=xxxx xxxx xxxx xxxx xxxx xxxx
# Optional — public hostname for X-Site-Domain when the REST stack is multi-tenant
# NEWSPROJECT_WP_SITE_DOMAIN=https://newsproject.bitreport.pt
# Optional — same WebDAV federation archive as andebol when enabled on the host (BIT-22292)
# WRITER_WEBDAV_ENABLED=1
# WRITER_WEBDAV_BASE_URL=https://…/remote.php/dav/files/<user>/<folder>/
# WRITER_WEBDAV_USER=
# WRITER_WEBDAV_PASSWORD=
# WRITER_WEBDAV_DEFAULT_CREDIT=Foto: …