self-host open source docker

Self-Host Braidscope on a Hostinger VPS With Docker

By Awais Rafeeq ·
Title card: install Braidscope on your own server. Open source, Hostinger VPS, Docker, one command

Can you run a client reporting dashboard on your own server, with your clients’ data in your own database?

Yes. Braidscope’s core is open source under AGPL-3.0. You install it with one command on a Linux server that has Docker. This guide does it on a Hostinger KVM 2 VPS with Ubuntu, the same server we used in the video. The whole thing takes about 15 minutes, and the install itself about 5. Self-hosting is free and includes all six connectors: GA4, Google Ads, Meta Ads, Klaviyo, HubSpot and Shopify.

The screens below are frames from our own install video.

Self-Host Braidscope: Open Source Marketing Dashboard on Hostinger VPS With Docker. The video loads from YouTube when you press play. Watch on YouTube

What you need

  • A Linux server with Docker. We tested on a VPS with Ubuntu, 2 CPU cores, 8 GB memory and 100 GB disk. A Hostinger KVM 2 VPS with Ubuntu is more than enough. Your own computer works too, if Docker is installed. The repository docs list 2 vCPU and 4 GB memory as the minimum, with 8 GB as comfortable.
  • A terminal for that server. The web console in your VPS panel, or SSH.
  • About 15 minutes.

The Hostinger links on this page are our referral link. If you buy through it, we may earn a commission. The price for you is the same.

Everything runs on that one machine: the Postgres database, the Redis cache, sign-in, storage, the API and the web app. There is no outside database.

Step 1: open the repository

Go to github.com/BraidScope/braidscope-agency-reporting. Star it and watch it so you get every update.

Read the README before you install. It has a table called “What works today” and it is blunt. Workspaces, dashboards, Ask AI, reports with an AI narrative and PDF download, branding and two-factor sign-in are marked Live. Scheduled report delivery, anomaly alerts, Google Sheets export and client portals are marked Not built.

Braidscope README on GitHub showing the what works today table, the quick start command and the self-host or cloud comparison
The README says what is live and what is not built, then gives the install command.

Step 2: copy the install command

Scroll down to Quick start. There is a one-line install command. Copy it.

curl -fsSL https://raw.githubusercontent.com/BraidScope/braidscope-agency-reporting/main/deploy/selfhost/install.sh | bash
Quick start section of the Braidscope README with the one-line curl install command highlighted
One command. Run it on the server, not on your laptop.

Do you already have a domain pointed at the server? Then use the second command from the README. It sets the domain and turns on HTTPS by itself, and you can skip steps 6 and 7 below.

BRAIDSCOPE_DOMAIN=app.example.com BRAIDSCOPE_EMAIL=you@example.com \
bash -c "$(curl -fsSL https://raw.githubusercontent.com/BraidScope/braidscope-agency-reporting/main/deploy/selfhost/install.sh)"

Replace app.example.com and you@example.com with your own.

Step 3: open the web console on your VPS

In Hostinger, open your VPS and go to Docker Manager. Click Web console. A terminal for your server opens in a new tab. Any SSH terminal works the same way.

Step 4: run the install

Paste the command and press Enter.

The script downloads Braidscope into /root/braidscope and generates secrets for your server. Then it pulls the images and builds the app. This takes a few minutes. In the video we sped this part up.

When it finishes it prints “Braidscope is running” with three things: the address, the first owner email and a password.

Terminal output of the Braidscope installer: images pulled, containers healthy, and the message Braidscope is running with a URL, owner email and a blurred password
The end of the install. Save the first owner password somewhere private. It is blurred here.

Save that password somewhere private. Change it after your first login, in Settings, then Security.

Step 5: check it in Docker Manager

Go back to Docker Manager. You will see braidscope-selfhost as Running, with 9 containers. Click Manage to see every service in the stack with its status, CPU and memory: the database, sign-in, the API layer, storage, the cache and the web app.

Hostinger Docker Manager showing Braidscope self-host containers running, and the db, auth, rest and storage services in the visual editor
Every service in the stack, in the Docker Manager.

Step 6: give Braidscope your server address

After a plain install, Braidscope thinks its address is localhost. You need to tell it the real one.

  1. Open the Overview page for your VPS. Under VPS details, copy the IPv4 address.
  2. Open Manage for braidscope-selfhost and scroll to Environment.
  3. Change the first three lines to your IP:
DOMAIN=YOUR_VPS_IP
PUBLIC_URL=http://YOUR_VPS_IP
CADDY_SITE=http://YOUR_VPS_IP

Leave the Caddy ports as they are, 80 and 443.

Environment editor for the Braidscope stack with the first three lines, DOMAIN, PUBLIC_URL and CADDY_SITE, set to the VPS IP and every secret blurred
Only the first three lines change. Everything below them is a secret made for your server, blurred here.

The other lines in Environment are your passwords and keys. They were made for your server only. Never share them, and never post a screenshot of them.

Step 7: rebuild

In the web console, run these two lines. They recreate the containers with the new address.

cd ~/braidscope/deploy/selfhost
docker compose up -d --build --force-recreate

Step 8: open Braidscope

Open a new incognito window and go to http://YOUR_VPS_IP. Use a fresh incognito window so the browser does not reuse an old redirect to localhost.

The sign-in page loads with a red bar across the top. The red bar means the site is running on plain HTTP. That is fine for a first look. For real client data, point a real domain at the server and set DOMAIN to it, so HTTPS turns on.

Step 9: create your account and first workspace

Click Create account. Enter your agency name, your work email and a password of at least 8 characters. The account is saved in your own database. You can also sign in with the first owner login from step 4.

Next, name your first client workspace and click Create client workspace. One workspace holds one client’s sources, dashboards and reports.

Braidscope dialog titled Create your first client workspace with a field for the client workspace name
The first screen after sign-up: name a client workspace.

Step 10: connect an AI provider

Braidscope asks which provider should power AI summaries, reports and Ask AI for this workspace. You can pick OpenRouter, OpenAI with your ChatGPT account, or Claude. There is a Skip link if you want to do this later.

Braidscope dialog titled Connect your LLM provider with three choices: OpenRouter, OpenAI and Claude
Pick the AI provider for this workspace: OpenRouter, OpenAI or Claude.

Step 11: connect your data

Pick sources from the four tabs: Advertising, Analytics, E-commerce, and CRM and Email. Connect at least one and the dashboard for that source fills in. Every connector is read-only. Braidscope reads the client’s account and cannot change it.

One thing the video does not cover. On your own server, some connectors need app credentials from that platform’s developer console before the Connect button can finish. The settings table in docs/self-host.md names them: the META_ADS_, GA4_ and SHOPIFY_ settings in deploy/selfhost/.env. Add them, then run docker compose up -d to apply. In our cloud this part is already done for you.

If something does not work

  • The page still goes to localhost. Check the three Environment lines from step 6, run the rebuild from step 7 again, and open the IP in a new incognito window.
  • The page does not open at all. Check in Docker Manager that braidscope-selfhost is Running.
  • You lost the first owner password. Create your own account on the sign-in page, as in step 9.

Still stuck? Open an issue on GitHub and tell us which step.

What you get, and what is not built

What runs on your server today:

  • One workspace per client, with team roles.
  • Dashboards for Google Ads, Meta Ads, GA4, HubSpot and Klaviyo. Shopify syncs today, and the README says its dashboard tab is not in the open source core yet.
  • Ask AI across a client’s connected sources. See how Ask AI answers a client question.
  • Reports with an AI-written summary, downloaded as a PDF.
  • Your agency’s branding per client.

What is not built, in self-host or in our cloud:

  • Scheduled report delivery by email or to Slack.
  • Alerts sent to you by email.
  • A client view by link, or a white-label client portal.
  • Google Sheets and Stripe connectors.

You also run the server yourself. Backups, upgrades and uptime are your job. The stack ships with two scripts for that, run from braidscope/deploy/selfhost:

bash backup.sh    # database dump and report PDFs into ./backups
bash upgrade.sh   # backup, fetch the latest code, rebuild, migrate

Password reset and invitation emails need SMTP settings in the same .env file. Without SMTP, create users yourself and share the password. The full list is in docs/self-host.md.

Self-host or cloud?

Self-host if you want client data on your own machine and you are comfortable with Docker. It is the same core app.

Use our cloud if you would rather not run a server. Platform plans are $19, $79 and $199 a month, flat, for 5, 20 and 50 client workspaces. If you want us to connect the data and build the dashboards for you, Managed starts with a free 60-day pilot.

The shorter reference version of this install lives on the self-host page. Prices are on the pricing page.

Tired of rebuilding client reports manually?

Braidscope gives every client a ready dashboard, AI answers and a PDF report with a written summary.

Book a free audit

No credit card. No setup fee.

Also read: Free client reporting template ·How to create a client report ·Braidscope pricing