Instance settings reference
Every setting you can change from an environment variable or from Settings, with its default.
Set these as environment variables, or change them as an admin in Settings → Advanced → Configuration. A value saved in Settings overrides the environment variable, and the environment variable overrides the default. Changes apply after a restart.
Every variable also accepts a _FILE suffix that points at a file holding the value, for Docker or Kubernetes secrets: OPENPOST_SMTP_PASSWORD_FILE=/run/secrets/smtp.
Variables that OpenPost needs before it can read its database, such as addresses, secrets, storage, and the database itself, are not listed here. They are in Configuration. Billing settings exist only on the Hosted service.
Accounts and policies
Who can sign up, which policies they accept, and the contact shown to them.
| Variable | Default | What it does |
|---|---|---|
OPENPOST_DISABLE_REGISTRATIONS | On | Disable new registrations. Stop new password and identity-provider registrations once the first account exists. Invitations and existing users are not affected. |
OPENPOST_PUBLIC_PROFILES_ENABLED | On | Public profiles. Allow users to publish username-based profiles with per-field visibility controls. |
OPENPOST_LEGAL_ACCEPTANCE_REQUIRED | Off | Require legal acceptance. Require users to accept the configured terms and privacy policy versions. |
OPENPOST_TERMS_URL | Not set | Terms URL. Public URL for the terms of service. |
OPENPOST_PRIVACY_URL | Not set | Privacy URL. Public URL for the privacy policy. |
OPENPOST_TERMS_VERSION | Not set | Terms version. Version recorded when a user accepts the terms. |
OPENPOST_PRIVACY_VERSION | Not set | Privacy version. Version recorded when a user accepts the privacy policy. |
OPENPOST_SUPPORT_EMAIL | Not set | Support email. Contact address shown in account and policy flows. |
OPENPOST_UPDATE_CHECK_ENABLED | On | Release checks. Check for new stable OpenPost releases in Instance settings. |
Sign-in
Google sign-in, your OpenID Connect provider, and OAuth clients. See Set up single sign-on for the full setup.
| Variable | Default | What it does |
|---|---|---|
OPENPOST_OAUTH_DYNAMIC_REGISTRATION_ENABLED | Off | OAuth dynamic client registration. Allow external applications to register OAuth clients without operator approval. |
OPENPOST_AUTH_GOOGLE_CLIENT_ID | Not set | Google client ID. OAuth client ID for first-party Google sign-in and account linking. |
OPENPOST_AUTH_GOOGLE_CLIENT_SECRET | Not set | Google client secret. OAuth client secret for first-party Google sign-in and account linking. Write-only in Settings. |
OPENPOST_OIDC_ISSUER | Not set | OIDC issuer. Issuer URL for the operator-managed OpenID Connect provider. |
OPENPOST_OIDC_CLIENT_ID | Not set | OIDC client ID. Client ID for the operator-managed OpenID Connect provider. |
OPENPOST_OIDC_CLIENT_SECRET | Not set | OIDC client secret. Client secret for the operator-managed OpenID Connect provider. Write-only in Settings. |
OPENPOST_OIDC_NAME | Single sign-on | OIDC display name. Name shown to users for the operator-managed identity provider. |
OPENPOST_OIDC_SCOPES | openid, profile, email | OIDC scopes. Space- or comma-separated OpenID Connect scopes. |
OPENPOST_OIDC_JIT_ENABLED | Off | OIDC just-in-time users. Allow the OIDC provider to create a user on first sign-in. |
OPENPOST_OIDC_BOOTSTRAP_ALLOWLIST | Not set | OIDC bootstrap subjects. Subject identifiers allowed to bootstrap organization SSO administration. |
OPENPOST_SSO_BREAK_GLASS_EMAILS | Not set | SSO break-glass emails. Accounts that retain direct access if organization SSO is unavailable. |
OPENPOST_OIDC_NATIVE_CALLBACK_URL | openpost://oidc/callback | Native OIDC callback. Callback URI used by native OpenPost clients. |
How the instance sends sign-in codes and notifications. See Email for each provider.
| Variable | Default | What it does |
|---|---|---|
OPENPOST_EMAIL_VERIFICATION_REQUIRED | Off | Require email verification. Require a six-digit email code before a password account can sign in. |
OPENPOST_EMAIL_PROVIDER | Not set | Email provider. Delivery service for authentication and user notification messages. One of smtp, resend, cloudflare. |
OPENPOST_EMAIL_FROM or OPENPOST_SMTP_FROM | Not set | From address. Sender address used for authentication and notification messages. |
OPENPOST_RESEND_API_KEY | Not set | Resend API key. API key used only when Resend is selected. Write-only in Settings. |
OPENPOST_CLOUDFLARE_EMAIL_ACCOUNT_ID | Not set | Cloudflare account ID. Cloudflare account that owns the email sending service. |
OPENPOST_CLOUDFLARE_EMAIL_API_TOKEN | Not set | Cloudflare API token. Scoped token used only for transactional email delivery. Write-only in Settings. |
OPENPOST_EMAIL_DELIVERY_WEBHOOK_SECRET | Not set | Email delivery webhook secret. Write-only HMAC secret used to authenticate delivery outcome callbacks. Write-only in Settings. |
OPENPOST_SMTP_HOST | Not set | SMTP host. Hostname of the SMTP server. |
OPENPOST_SMTP_PORT | 587 | SMTP port. Port used to connect to the SMTP server. |
OPENPOST_SMTP_USERNAME | Not set | SMTP username. Optional SMTP authentication username. |
OPENPOST_SMTP_PASSWORD | Not set | SMTP password. Password used when the SMTP server requires authentication. Write-only in Settings. |
OPENPOST_SMTP_TLS_MODE | starttls | SMTP TLS mode. Transport security used for the SMTP connection. One of starttls, tls, none. |
OPENPOST_SMTP_SERVER_NAME | Not set | SMTP TLS server name. Optional TLS server name override used for certificate verification. |
Features and AI
Editors, generators, stock media, feedback, telemetry, and the AI models behind them. See AI providers for the keys.
| Variable | Default | What it does |
|---|---|---|
OPENPOST_IMAGE_EDITOR_ENABLED | On | OpenPost Image Editor. Enable the design workspace and its model assets. |
OPENPOST_IMAGE_EDITOR_MODEL_BASE_URL | /image-editor-models | OpenPost Image Editor model path. URL or application path used to load OpenPost Image Editor models. |
OPENPOST_MEME_GENERATOR_ENABLED | On | Meme generator. Enable OpenPost's built-in meme templates and local renderer. |
FAL_KEY | Not set | fal API key. Server-only key for Image Editor generation and edits, including request billing access. Write-only in Settings. |
OPENPOST_CONTENT_AI_PROVIDER | Not set | Content AI provider. Exact OpenRouter provider used for post and meme generation. |
OPENPOST_CONTENT_AI_REQUIRE_ZDR | Off | Content AI zero retention. Restrict post and meme generation to OpenRouter endpoints with zero data retention. |
OPENPOST_WORKFLOW_DECISION_MODEL | typesafe/jev-1.13 | Workflow decision model. OpenRouter Decisions model used for workflow Yes/No branches. |
OPENPOST_TEXT_GENERATION_MODEL | openai/gpt-6-luna | Text generation model. OpenRouter model used to build publication copy from an idea. |
OPENPOST_EDITOR_AGENT_MODEL | google/gemini-3.8-flash | Editor assistant model. OpenRouter model used by the paid Hosted image and video editor assistant. |
OPENPOST_MEME_GENERATION_MODEL | openai/gpt-6-luna | Meme generation model. OpenRouter model used to select templates and write meme captions. |
OPENPOST_STOCK_MEDIA_ENABLED | Off | Stock media search. Enable stock search when at least one provider key is configured. |
OPENPOST_PEXELS_API_KEY | Not set | Pexels API key. Optional API key for Pexels stock search. Write-only in Settings. |
OPENPOST_UNSPLASH_ACCESS_KEY | Not set | Unsplash access key. Optional access key for Unsplash stock search. Write-only in Settings. |
OPENPOST_PIXABAY_API_KEY | Not set | Pixabay API key. Optional API key for Pixabay stock search. Write-only in Settings. |
OPENPOST_FEEDBACK_ENABLED | Off | In-app feedback. Show the feedback action and send submissions to the configured destination. |
OPENPOST_FEEDBACK_DESTINATION_URL | Not set | Feedback destination. Webhook or form endpoint that receives feedback submissions. |
OPENPOST_FEEDBACK_RECIPIENT | Not set | Feedback recipient. Optional recipient identifier sent with feedback submissions. |
OPENPOST_FEEDBACK_SUPPORT_URL | https://github.com/getopenpost/openpost/issues/new | Support link. Fallback URL shown when direct feedback delivery is unavailable. |
OPENPOST_TELEMETRY_ENABLED | Off | Product telemetry. Send privacy-limited product events and errors to the configured PostHog project after restart. |
OPENPOST_POSTHOG_PROJECT_TOKEN | Not set | PostHog project token. Browser-safe write token for the operator-owned PostHog project. |
OPENPOST_POSTHOG_API_HOST | Not set | PostHog server endpoint. Direct PostHog ingestion endpoint used by the OpenPost backend. |
OPENPOST_POSTHOG_BROWSER_HOST | Not set | PostHog browser endpoint. Browser ingestion endpoint or reverse proxy exposed to the OpenPost app. |
OPENPOST_POSTHOG_UI_HOST | Not set | PostHog UI host. PostHog application URL used by the browser SDK for generated links. |
OPENPOST_TELEMETRY_ENVIRONMENT | selfhost | Telemetry environment. Stable environment label attached to every event, such as production or staging. |
Social networks
Per-network switches and API budgets. App credentials for each network are in Social integrations.
| Variable | Default | What it does |
|---|---|---|
OPENPOST_DISABLE_LINKEDIN_THREAD_REPLIES or LINKEDIN_DISABLE_THREAD_REPLIES | Off | Disable LinkedIn thread replies. Publish only the first segment of LinkedIn threads. |
OPENPOST_LINKEDIN_AUTH_MODE | openid | LinkedIn authentication. Use OpenID Connect for self-service apps or the Profile API for an approved Community Management app. One of openid, community_management. |
OPENPOST_LINKEDIN_ORGANIZATIONS_ENABLED | Off | LinkedIn organizations. Allow publishing through LinkedIn organization pages when the app has permission. |
OPENPOST_LINKEDIN_MEMBER_ANALYTICS_ENABLED | Off | LinkedIn member analytics. Request r_member_profileAnalytics and r_member_postAnalytics with approved Community Management API access. Initial Development Tier access requires a separate app without other products; approved Standard Tier access can be added to an existing Advertising API app. |
OPENPOST_DISABLE_TIKTOK_DISPLAY_API | Off | Disable TikTok Display API scopes. Request only the TikTok publishing scopes (user.info.basic, video.publish, video.upload) for apps without Display API approval. Usernames, analytics, and public video ID reconciliation stay unavailable. |
OPENPOST_X_MONTHLY_BUDGET_MICROUSD | 5000000 | X monthly API budget. Hosted X API budget in millionths of a US dollar. |
OPENPOST_X_POST_CREATE_COST_MICROUSD | 15000 | X post API cost. Estimated cost of an X post request in millionths of a US dollar. |
OPENPOST_X_POST_CREATE_WITH_URL_COST_MICROUSD | 200000 | X post-with-URL API cost. Estimated cost of an X post request containing a URL. |
OPENPOST_X_ENGAGEMENT_DAILY_READ_BUDGET | 12 | X engagement daily read budget. Maximum provider-reaching X engagement read attempts per account and UTC day. |
OPENPOST_PROVIDER_USAGE_RETENTION_DAYS | 180 | Provider usage retention. Days to keep provider usage and reservation records. Use zero to keep them. |
Configuration
Learn which settings live in your environment and which you can change in the app, and what every deployment variable does.
Install OpenPost on ZimaOS with Docker Compose
Import OpenPost as a ZimaOS custom app, set your device address, and check that it is ready before you connect social accounts.