Self-hosting

Run Payload Bay on your own server

The single-container setup runs the web server and the worker in one container, next to PostgreSQL. It builds from source with public dependencies and needs no registry credentials. It is an alpha path, so read the limits below before you use it.

Quickstart

You need a Docker host, a domain with HTTPS in front of port 3000, and a way to send email, because sign-in uses one-time codes.

  1. Get the source.
    git clone https://github.com/payloadbay/payloadbay.git
    cd payloadbay
  2. Create an environment file outside Git. Set PUBLIC_URL, POSTGRES_PASSWORD, three independent secrets (BETTER_AUTH_SECRET, PAYLOADBAY_ENCRYPTION_KEY, PAYLOADBAY_BOOTSTRAP_SECRET), a sender address and one email transport. Generate each secret with:
    openssl rand -hex 24
  3. Start the stack.
    docker compose --env-file /secure/payloadbay.env \
      -f deploy/compose.single.yml up -d --build
  4. Put a TLS reverse proxy in front of port 3000 of the payload-bay service, then create the first owner with the one-time bootstrap secret.

Registration is invitation only by default. Keep the encryption key with your backups, because stored target headers and secrets cannot be read without it.

What works in the single container

FeatureSingle container
Stable ingress URL, raw body and headers stored firstYes
Forwarding to health-checked targets, failover, queueing, replayYes
Attempt inspection and manual replayYes
Scripted ingress and processingNo. The executor is not part of this image.
Outbound Runner and fan-outNot available yet

Limits of the alpha

  • No coordinated release images are published yet. The setup builds from source.
  • Schema changes are not applied to an existing database. Before you upgrade across a schema change, take a backup and apply a reviewed migration, or start a fresh database.
  • Scripts need the full operator installation, which adds the executor.
  • There is no uptime guarantee. Expect breaking changes.

More guides

Prefer not to run it yourself

The hosted alpha is invitation only. Sign in if you have an invitation.