Files
com.gregkilmer.www/services/content/.env.example
T
Claude 449ffcd62d Bambuddy sync: match the real spools API
Checked against Greg's Bambuddy: the key goes in X-API-Key, colors are
color_name (often null on RFID spools) and rgba, grams left is
label_weight minus weight_used, and archived spools carry archived_at.
Unnamed spools get the nearest plain color name.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012aSbo2D1qP8cMFQCykf7kx
2026-10-12 02:47:48 +00:00

72 lines
2.9 KiB
Bash

# Content service settings. Copy to .env (never commit it) or set them in the
# container's environment. See docs/content-service.md, "Running it".
# On Cosmos this file is /home/greg/homelab/gregkilmer/content.env (docs/deploy.md).
# --- Core -----------------------------------------------------------------------
# role:token pairs, 24+ random characters each (openssl rand -hex 24).
# reader: the site; admin: the admin page; intake: the site's forms;
# agent: AI agents over MCP; editor: future editing tools.
CONTENT_TOKENS=
# Healthchecks ping after every full scan of the Site folder.
HEALTHCHECK_URL=
# Discord (or any) webhook, told whenever a change is held for review.
NOTIFY_WEBHOOK_URL=
# Email addresses an agent may add to a note without a hold.
ALLOWED_EMAILS=greg@gregkilmer.com,contact@gregkilmer.com,orders@gregkilmer.com
# SCAN_MINUTES=5
# SUBMISSION_MAX_MB=10
# --- Sync jobs (docs/content-service.md, "Sync jobs") ------------------------
# Public sources to run: archidekt (hourly), bgg (daily), covers (every 15 min).
SYNC_JOBS=archidekt,bgg,covers
# Optional per-job interval override, in minutes.
# SYNC_ARCHIDEKT_MINUTES=60
# SYNC_BGG_MINUTES=1440
# SYNC_COVERS_MINUTES=15
# Healthchecks ping URLs, one per job (start, success and fail are pinged).
SYNC_ARCHIDEKT_HEALTHCHECK_URL=
SYNC_BGG_HEALTHCHECK_URL=
SYNC_COVERS_HEALTHCHECK_URL=
# BoardGameGeek application token (sent as Authorization: Bearer), if BGG asks for one.
BGG_TOKEN=
# TMDB v3 API key or v4 read access token, for film and TV covers.
TMDB_API_KEY=
# --- Homelab syncs on Cosmos (docs/content-service.md, "Homelab sources") ----
# Each is enabled by its own URL and login; all are read only against the source.
# PersonalReader, manga and manhwa (hourly). Its own read-only Suwayomi account.
SUWAYOMI_URL=
SUWAYOMI_USER=
SUWAYOMI_PASS=
# ui_login (default with a user), basic, or none.
# SUWAYOMI_AUTH=ui_login
# PersonalReader, light novels and books (daily).
KAVITA_URL=
KAVITA_API_KEY=
# Filament in stock (hourly).
BAMBUDDY_URL=
# BAMBUDDY_SPOOLS_PATH=/api/v1/inventory/spools
# API key from Bambuddy's Settings, sent in X-API-Key
BAMBUDDY_API_KEY=
# BAMBUDDY_AUTH_HEADER=
# BAMBUDDY_GROUP=Filament
# BAMBUDDY_MATERIALS=PLA,PETG
# BAMBUDDY_MIN_GRAMS=50
# Leather and paper in stock (hourly). Entries are name or name=Group.
HOMEBOX_URL=
HOMEBOX_USER=
HOMEBOX_PASS=
HOMEBOX_LABELS=leather,paper
# HOMEBOX_LOCATIONS=
SYNC_SUWAYOMI_HEALTHCHECK_URL=
SYNC_KAVITA_HEALTHCHECK_URL=
SYNC_BAMBUDDY_HEALTHCHECK_URL=
SYNC_HOMEBOX_HEALTHCHECK_URL=
# --- Form submissions (docs/content-service.md, "Form submissions") ----------
# Add an intake token for the site's forms to CONTENT_TOKENS, e.g.
# CONTENT_TOKENS=reader:…,admin:…,intake:<24+ random characters>
# The site uses the same value as CONTENT_INTAKE_TOKEN. It can only file submissions.
# Largest attachment a submission may carry, in MB. Files go to DATA_DIR/submissions.
SUBMISSION_MAX_MB=10