When RSS/HTML provide no image, optional WRITER_WEBDAV_* env enables PROPFIND depth-1 listing, headline-based file pick, Basic-auth GET, and WP caption from Credit___filename pattern or WRITER_WEBDAV_DEFAULT_CREDIT (BIT-22292). Co-authored-by: Cursor <[email protected]>
21 lines
907 B
Bash
21 lines
907 B
Bash
# Writer Pipeline — andebol.net environment
|
|
# Deploy to /etc/news-platform/writer-andebol.env on the LXC
|
|
# Secrets (WP app password) must be kept out of version control.
|
|
|
|
NODE_ENV=production
|
|
|
|
# WordPress REST API base for andebol.net (Docker compose service, port 8081)
|
|
ANDEBOL_WP_BASE=http://127.0.0.1:8081/wp-json
|
|
|
|
# WordPress application credentials — generate in WP Users → Application Passwords
|
|
ANDEBOL_WP_USER=writer-bot
|
|
ANDEBOL_WP_APP_PASSWORD=xxxx xxxx xxxx xxxx xxxx xxxx
|
|
|
|
# Optional — federation WebDAV photo library when article HTML has no og:image (BIT-22292).
|
|
# Secrets only in host env / vault — never commit real values.
|
|
# 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: … (line used as WP media caption when filename has no Credit___pattern)
|