Configuration

Which values the running app expects. No secret values are printed here.

Production refuses to start when a required value is missing, still a placeholder, or when the public URL points at localhost.

That check is skipped while Next is building the image.

What the app needs

A database URL. A Redis URL. An auth secret. The public URL https://remitnudge.com.

An Anthropic key for drafts. A Resend key for mail. Creem keys for billing.

Inbound mail needs the webhook secret and the inbound domain.

Dev and prod stay apart

Dev may keep a local database URL.

Do not copy one env file over another. Each file keeps its own key.

A missing model key, a rejected mail send, or a Redis error returns an error. The app does not write a substitute draft.