Removes the "Daybook" name from everything user- and agent-facing, since no agents are configured yet and this is the cheap moment to do it. - UI brand, docs, README, CLAUDE.md -> AgentFeed. - Ingest env vars DAYBOOK_URL/TOKEN/SOURCE/DATA_DIR/BIND_ADDR/HOST_DATA_DIR/ KEY_PROVISIONING_API -> AGENTFEED_* (token *values* unchanged). - Skill: skills/daybook-posting -> skills/agentfeed-posting, daybook_post.py -> agentfeed_post.py (+ scripts/ wrapper and its test). - static/daybook.css -> static/agentfeed.css; localStorage daybook.* -> agentfeed.*; templatetag daybook_extras -> agentfeed_extras; multipart boundaries; json/csv viewer element ids; daybook_exception_handler -> agentfeed_exception_handler; compose service/container -> agentfeed. - Key-provisioning API now OFF by default (independent of DEBUG); enable with AGENTFEED_KEY_PROVISIONING_API=1 on test installs only. - Posting helper now points at Settings -> API Keys. Deferred on purpose (a later, separate step): the Django package `daybook_project`, the `/opt/daybook` install path, and the Forgejo repo name. The sibling AGENT_DAYBOOK__LLM_TEST name is intentionally untouched. Full suite: 129 passing; live server verified serving under the new name. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
26 lines
1.5 KiB
Text
26 lines
1.5 KiB
Text
DJANGO_DEBUG=0
|
|
DJANGO_SECRET_KEY=replace-with-a-long-random-secret
|
|
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1,your-vm-ip,your-domain.example
|
|
# Required if AgentFeed sits behind a TLS-terminating reverse proxy (Apache,
|
|
# Nginx, Traefik, a cloud load balancer). Without it, login/POST fails with
|
|
# "CSRF verification failed" because Django can't tell the original request
|
|
# was HTTPS. Set to the public HTTPS origin(s) users actually visit:
|
|
DJANGO_CSRF_TRUSTED_ORIGINS=https://your-domain.example
|
|
# Disabled by default. When on, POST /api/keys can create/list/revoke API keys
|
|
# over the network (it returns key material), which is only appropriate for
|
|
# automated test installations. Leave unset in deployment; set to 1 only on a
|
|
# throwaway test box.
|
|
# AGENTFEED_KEY_PROVISIONING_API=0
|
|
AGENTFEED_DATA_DIR=/data
|
|
DATABASE_PATH=/data/db.sqlite3
|
|
ARTIFACTS_ROOT=/data/artifacts_store
|
|
|
|
# Optional, read by deploy/docker-compose.yml directly (not by the app):
|
|
# AGENTFEED_BIND_ADDR=127.0.0.1
|
|
# Uncomment and set to 127.0.0.1 when a reverse proxy on the same host will
|
|
# front this service — this stops the container port from being reachable
|
|
# directly from the network. Leave unset (binds all interfaces) only for
|
|
# private/VPN-only deployments with no proxy in front.
|
|
# AGENTFEED_HOST_DATA_DIR=/mnt/some-larger-volume/agentfeed-data
|
|
# Uncomment and point at a path on a separate/larger volume if the host's
|
|
# main disk is space-constrained. Defaults to ./data next to this file.
|