.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
PORT
── Server ────────────────────────────────────────────────────────────────────
RUST_LOG
Log filter directives (RUST_LOG format).
DATABASE_URL
secret
SQLite connection URL. The /data mount is provided by docker-compose.
SHORTCUT_TOKEN
secret
── Auth ────────────────────────────────────────────────────────────────────── Bearer token required for all /trigger/* endpoints. Generate…
IMMICH_BASE_URL
── Immich ─────────────────────────────────────────────────────────────────── Base URL of your Immich instance.
IMMICH_API_KEY
secret
API key from Immich → Account Settings → API Keys.
IMMICH_DEFAULT_QUERY
CLIP natural-language query used for smart-search asset discovery.
IMMICH_CANDIDATE_POOL_SIZE
Maximum assets returned by a single smart-search call (candidate pool).
IMMICH_LOOKBACK_DAYS
How many days back the takenAfter window extends.
FACE_AREA_PER_FACE_PCT
Optional: select a random photo from this Immich album instead of running smart-search + face detection. Leave unset for the default…
FACE_AREA_TOTAL_PCT
Maximum combined area of all face bounding boxes (% of image area).
OPENAI_API_KEY
secret
── OpenAI ─────────────────────────────────────────────────────────────────── OpenAI API key from platform.openai.com → API Keys.
OPENAI_MODEL
secret
OpenAI model used for the Responses API caption generation.
BUFFER_API_KEY
secret
── Buffer ─────────────────────────────────────────────────────────────────── Buffer API key from buffer.com → Account → API Access.
BUFFER_GRAPHQL_URL
Buffer GraphQL endpoint (POST to root, no /graphql suffix).
BUFFER_INSTAGRAM_CHANNEL_ID
ID of the Buffer Instagram channel to post to.
PUBLIC_BASE_URL
── Public URL / pending media ──────────────────────────────────────────────── Public base URL of this service. Used to build…
PENDING_MEDIA_TTL_MINUTES
How long a pending_media row lives before it is eligible for cleanup (minutes).
brew install flyctl && fly launch --from https://github.com/brunojppb/feedrelay
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/brunojppb/feedrelay
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/brunojppb/feedrelay