Integration

Cloudflare integrations on Wodby

Put apps behind Cloudflare Access or Cloudflare One, keep backups in R2, send mail through Cloudflare Email Service, and pass API or Turnstile keys to services.

VariablesVariablesPrivate app accessStorageSMTPcloudflare.com— official Cloudflare website

Send email through Cloudflare Email Service

Relay transactional email from OpenSMTPD with an Email Sending API token for an onboarded Cloudflare sending domain.

Send backup archives to R2

Use an Account ID and R2 API token access key pair to select Cloudflare R2 buckets for automatic backup archives.

Connect apps and protect endpoints

Attach scoped API credentials or Turnstile keys to services, and publish app endpoints behind Cloudflare Access or Cloudflare One.

Integration kinds

How Cloudflare fits into Wodby

Cloudflare has five integration kinds on Wodby. Private app access is configured for an app environment and is not attached to a service. The other kinds are used independently of it.

Variables

API

Wodby passes the Account ID and API Token to each service you attach this kind to, in the environment variables below.

  • Attach it to an app service, or to a stack so that every app environment created from the stack gets the values.
  • The variables exist in running containers only. Image builds do not receive them.
  • A variable set on an app service replaces the integration’s value of the same name.

Environment variables

CLOUDFLARE_ACCOUNT_IDCLOUDFLARE_API_TOKEN

Variables

Turnstile

Wodby passes the Site Key and Secret Key to each service you attach this kind to, in the environment variables below.

  • Attach it to an app service, or to a stack so that every app environment created from the stack gets the values.
  • The variables exist in running containers only. Image builds do not receive them.
  • A variable set on an app service replaces the integration’s value of the same name.

Environment variables

TURNSTILE_SITE_KEYTURNSTILE_SECRET_KEY

Private app access

Zero Trust

Put a whole app or selected HTTP endpoints behind a Cloudflare Access sign-in, or make them reachable only from devices enrolled in Cloudflare One.

  • Protected publishing gives each endpoint a hostname in your Cloudflare zone and asks visitors to pass the Cloudflare Access policy you select.
  • Private network access keeps the Wodby technical hostnames and serves them only to devices enrolled in the Cloudflare One Client.
  • Wodby creates the Tunnel and, for protected publishing, the DNS records and the Access application, and removes them when access is turned off. The Access policy stays yours.

Fields

Account IDAPI Token

Storage

R2

Wodby uploads backup archives of your apps and databases to a Cloudflare R2 bucket.

  • Select the integration and a bucket when you create a backup or a backup preset.
  • A backup preset can run backups on a schedule and send every archive to the same bucket.
  • If the credentials cannot list buckets, enter the exact bucket name.

Fields

Account IDAccess Key IDSecret Access Key

SMTP

SMTP (Beta)

Relay outbound email from OpenSMTPD through Cloudflare Email Service with an Email Sending API token.

  • Onboard the sending domain in Cloudflare Email Service before connecting it to Wodby.
  • Use a Cloudflare API token with Email Sending: Edit permission for SMTP authentication.
  • OpenSMTPD relays through Cloudflare Email Service with implicit TLS on port 465.

Fields

Email Sending API Token

Related features

Read more on this site

Browse all integrations

The catalog lists every provider and the kinds of integration it has.

Private app access

How to put a whole app or selected endpoints behind Cloudflare Access, Cloudflare One, or a Tailscale tailnet.

Backups and imports

Scheduled backups, restores, and data imports for app services and databases.

Stacks

Stacks to use with Cloudflare

Private app access is a setting of an app environment, not a part of the stack, so it works with any stack that has an HTTP endpoint. These stacks are examples.

  • SMTP server stack that delivers mail directly or relays it through a third-party SMTP provider.

    Attach the SMTP kind to the OpenSMTPD service to relay mail through Cloudflare Email Service.

    View stack
  • Drupal 11 application stack with PHP, Nginx, MariaDB, Valkey, Vinyl Cache, and shared file storage, plus optional Solr search.

    Put the site behind Cloudflare Access, and send the backups of its database and files to an R2 bucket.

    View stack
  • WordPress application stack with PHP, Nginx, MariaDB, Valkey, Vinyl Cache, and shared storage for content.

    Access is set per environment, so a staging site can sit behind Cloudflare Access while production stays public.

    View stack
  • Self-hosted PostgreSQL database stack with backups and imports, and optional Adminer and pgAdmin interfaces.

    Send the backups of the PostgreSQL service to an R2 bucket.

    View stack