Self-hosted

A self-hosted feedback tool
with four containers.

feeblo runs as an API server, a dashboard, PostgreSQL, and Redis. Bring a domain, an SMTP relay, and an S3 bucket. Your feedback stays in your database and on your network.

Docker Compose Postgres 17 + pgvector Your own S3 bucket
docker compose pshealthy
serviceimageport
serverghcr.io/g3root/feeblo-server8080
webghcr.io/g3root/feeblo-web4321
pgpgvector/pgvector:pg175432
redisredis:7-alpine6379

curl https://api.example.com/health

{"status":"ok","release":"..."}

Migrations finish before the server starts listening.

What you run

Four services. Two of them are prebuilt images.

The compose file at the repository root defines a complete single-host deployment. Nothing builds locally and nothing needs a toolchain. The server and web containers ship from GHCR on pushes to main and on version tags, so you pin a tag and pull it.

The web container routes by hostname. Any subdomain except app renders the public board registered for that subdomain, and app or no subdomain serves the dashboard. The server container always listens on 8080 internally, so the compose mapping and the healthcheck agree.

server

:8080

The HTTP API. Auth, dashboard RPC, widget endpoints, webhooks, and email all run here.

ghcr.io/g3root/feeblo-server

web

:4321

The dashboard and every public board. Routes by hostname, so each board gets its own subdomain.

ghcr.io/g3root/feeblo-web

pg

:5432

PostgreSQL 17 with pgvector. Holds posts, votes, comments, statuses, changelog entries, and auth data.

pgvector/pgvector:pg17

redis

:6379

A shared store for rate-limit counters. Required once you run more than one server replica.

redis:7-alpine

Requirements

What the machine needs before you start.

A working deployment is a compose file, a handful of environment variables, and a host with Docker. The four services start in order: Postgres and Redis pass their healthchecks, the server applies migrations, and the web app follows.

The server process also needs values for DATABASE_URL, APP_URL, API_URL, and APP_ROOT_DOMAIN. Compose supplies defaults for the first four, and AUTH_ENCRYPTION_KEY has no default. docker compose up fails until you set it.

Compose does not pass your whole .env file into the containers. Add the variables you need to the matching service block. On a public host, remove the Postgres and Redis port mappings so only the server and web containers accept connections.

  • Docker Engine and Docker Compose v2.
  • A root domain with DNS for the dashboard, the API, and a wildcard for board subdomains.
  • An SMTP relay, because new accounts verify by email by default.
  • AUTH_ENCRYPTION_KEY, generated once with openssl rand -hex 32.
  • An S3-compatible bucket for uploads, or a local service such as MinIO.

Minimum to boot

DATABASE_URL

Compose defaults to postgres://feeblo:password@pg:5432/feeblo

APP_URL

Public dashboard origin. Auth redirects and cookies derive from it.

API_URL

Public API origin. Webhook URLs derive from it.

APP_ROOT_DOMAIN

The root domain board subdomains live under.

AUTH_ENCRYPTION_KEY

No default. Generate with openssl rand -hex 32.

Compose forwards only a subset of your .env into the containers. Add the variables you need to the matching service block.

Your database

Every post, vote, and status
sits in your Postgres.

feeblo keeps all state in one PostgreSQL database. The compose stack runs PostgreSQL 17 with the pgvector extension, and data lives in a named volume called postgres. Recreating containers is safe. Deleting the volume deletes the data.

Migrations run CREATE EXTENSION IF NOT EXISTS vector and add a vector(1536) column to the post table. Your PostgreSQL instance must offer the extension even if you never turn embeddings on. The server image runs its own migration runner before it starts listening, and production never runs pnpm db:migrate.

Back up before an upgrade. The command below writes a plain SQL dump you can restore into any Postgres instance that has pgvector.

backup
docker compose exec pg pg_dump -U feeblo feeblo > feeblo-backup.sql

The database page covers the connection string, the Drizzle schema, and the local db: scripts.

Upgrade without surprises

  1. 1

    Back up the database

    Run pg_dump before you pull. A schema migration is hard to reverse without a dump.

  2. 2

    Pin the image tag

    Set IMAGE_TAG to a release tag instead of latest, so you decide when to move.

  3. 3

    Pull and recreate

    docker compose pull, then docker compose up -d. The server applies pending migrations.

  4. 4

    Roll back by tag

    Point IMAGE_TAG at the previous release and recreate. If the schema moved ahead, restore the backup first.

Post embeddings default to 1536 dimensions. If you switch to a model with a different vector size, run the published configure-embeddings command before restarting the server. Without the clear flag it fails safely instead of dropping data.

Configuration

The four settings that decide whether sign-in works.

Before you debug the network, check four settings. A URL that does not match the browser, a key that changed, an SMTP relay the server cannot reach, or a bucket that is not public will each break sign-in or uploads.

Origins

APP_URL is the dashboard, API_URL is the API, and APP_ROOT_DOMAIN is the bare root. The auth layer derives trusted origins from all three and allows board subdomains. Set them to the hosts browsers actually use.

Secrets

AUTH_ENCRYPTION_KEY signs sessions and encrypts verification state. Generate it once, store it, and never rotate it during normal operation. Rotating it logs every user out.

Email

Sign-up requires a verification link by default, so set SMTP_HOST, SMTP_PORT, and SMTP_FROM_ADDRESS before the first account. The server records each message in an outbox and retries failed sends.

Media

Uploads go to one S3-compatible bucket under profile-images, organization-logos, and editor-media. Cloudflare R2 needs MEDIA_UPLOAD_REGION set to auto and a public base URL for reads.

Production cookies are Secure and SameSite=None, scoped to your root domain, so the API host must serve HTTPS. If the API runs on plain HTTP, the browser drops the session cookie and every login looks broken.

The mailer always sends through nodemailer over SMTP. SMTP_TRANSPORT appears in .env.example with values smtp-auth, smtp-api, and resend, but no code reads that variable. Set it to smtp-auth and configure the SMTP_* variables. Delivery pauses and cost guards are environment-driven through the EMAIL_OUTBOX_* variables.

Media uses one S3-compatible bucket per deployment. Cloudflare R2 needs MEDIA_UPLOAD_REGION set to auto and a public base URL, either a custom domain connected to the bucket or an r2.dev URL. Without a public route, images render as access denied. The dashboard upload endpoint accepts images only, 10 MB per file.

After the first boot

The same feedback loop, on your domain.

Everything below runs from the containers you just started. The public board lives on a subdomain of APP_ROOT_DOMAIN, and the API answers on API_URL.

Feedback boards

Public or private boards with upvotes, threaded comments, tags, moderation, list and board views, and a custom subdomain.

Public roadmap

Planned, In Progress, and Completed lanes filled from post statuses, with custom domains and privacy controls.

Changelog

Rich text, image uploads, scheduling, a draft to published lifecycle, RSS, and Markdown export.

Widget

The @feeblo/sdk and @feeblo/sdk-react packages. Set baseUrl when the widget is served from your own host.

Public API

Versioned REST under /api/v1 on your API_URL, authenticated with an x-api-key header, with an OpenAPI document at /api/v1/openapi.json.

Webhooks

feedback.post.created and feedback.post.status_changed, signed with Standard Webhooks, retried on failure, and limited to public egress in production.

Deployment docs

Each page answers one question.

The self-hosting section is eight pages deep. Start with the overview if you are planning, the Docker page if you are deploying, and troubleshooting when something answers with the wrong status code.

Every page is published at docs.feeblo.com and is readable without an account. The environment reference is the one to keep open while you write your .env file.

Every page is published at docs.feeblo.com and is readable without an account. The environment reference is the one to keep open while you write your .env file.

Open the self-hosting docs

Fit

Self-hosting fits a specific team.

It fits teams that already run infrastructure and have a reason to keep customer feedback inside it. It fits teams that want to change the product itself. It fits teams that have someone on call for the database.

It does not fit a team that wants a board online this afternoon with no server to maintain. For that, the cloud version is the shorter path.

Good reasons to run it yourself

  • A customer contract or policy requires feedback data on your infrastructure.
  • You already operate PostgreSQL, object storage, and an SMTP relay.
  • You need a sign-in flow, field, or notification that the stock product does not have.
  • You want the deployment to keep working through a vendor pricing change.
  • You want to read the migration and the query before it touches customer data.

The docs and the GitHub issue tracker are the support path for a self-hosted deployment.

Self-hosting FAQ

What do I need before the first boot?

Docker Engine with Compose v2, a root domain with DNS for the dashboard, the API, and a wildcard for board subdomains, an SMTP relay, and a generated AUTH_ENCRYPTION_KEY. The compose stack supplies PostgreSQL with pgvector and Redis.

Can I use my own PostgreSQL instance?

Yes, as long as it offers the pgvector extension. Migrations run CREATE EXTENSION IF NOT EXISTS vector and add a vector(1536) column to the post table, so the extension has to be available even if you never turn embeddings on.

Do I need Redis?

One server instance rate-limits in memory and runs without Redis. As soon as you run more than one server replica, point REDIS_URL at a shared Redis so the rate-limit counters are shared too.

How do upgrades work?

Back up the database, pull the new images, and run docker compose up -d. The server image applies pending migrations before it starts listening. Pin IMAGE_TAG to an exact release so you decide when to move.

Does self-hosting include the widget and the API?

Yes. The web container serves the dashboard and public boards, and the server container answers the widget endpoints and the Public API on your API_URL. The same repository is the product.

Where do I get help with a deployment?

The self-hosting docs cover the four services, every environment variable, database migrations, SMTP, S3 media, OAuth, and the common failure modes. Bug reports go to the GitHub repository.

Start building what your users want

Open-source feedback boards, roadmaps, and changelogs. Self-host in minutes or start on the cloud, and close the loop with every release.