{
  "manifest_version": "1",
  "slug": "pocketbase",
  "title": "PocketBase",
  "headline": "Self-host PocketBase",
  "description": "Run PocketBase on an exe.dev VM: a private admin dashboard, a public-ready API with realtime, nightly backups, and email with no SMTP server.",
  "category": "databases",
  "tags": [
    "pocketbase",
    "backend as a service",
    "firebase alternative",
    "supabase alternative",
    "sqlite",
    "realtime",
    "go framework",
    "self-hosted backend"
  ],
  "url": "https://exe.dev/deploy/pocketbase",
  "markdown_url": "https://exe-staging.dev/deploy/pocketbase.md",
  "upstream": {
    "website": "https://pocketbase.io",
    "source": "https://ganigeorgiev.com/pocketbase/pocketbase",
    "docs": "https://pocketbase.io/docs/",
    "license": "MIT"
  },
  "example_vm_name": "my-pocketbase",
  "time": "10 minutes",
  "stack": [
    {
      "name": "PocketBase 0.42.3",
      "detail": "The prebuilt binary, run by systemd; SQLite inside",
      "port": 8090,
      "data": "~/pocketbase/pb_data"
    },
    {
      "name": "Public-ready port",
      "detail": "nginx; your app and its API, never superusers",
      "port": 8000
    },
    {
      "name": "JS hooks",
      "detail": "Email through exe.dev, superusers kept private",
      "data": "~/pocketbase/pb_hooks"
    },
    {
      "name": "Nightly backups",
      "detail": "PocketBase's own, at 03:00 UTC, seven kept",
      "data": "~/pocketbase/pb_data/backups"
    }
  ],
  "access": [
    {
      "url": "https://my-pocketbase.exe.xyz:8090/_/",
      "who": "private",
      "what": "The dashboard and the full API, for you"
    },
    {
      "url": "https://my-pocketbase.exe.xyz/",
      "who": "private",
      "what": "Your app and its API; public once you share it, superusers refused"
    }
  ],
  "delivers": [
    "PocketBase running under systemd, back after a reboot.",
    "A superuser for your exe.dev email, with a random password kept in a mode 600 file.",
    "A private dashboard on port 8090 and an app port, 8000, that is safe to make public.",
    "A live notes page that shows realtime updates through exe.dev's proxy.",
    "Nightly backups, and an encryption key for PocketBase's settings, kept in a mode 600 file."
  ],
  "deployable": true,
  "deploy": {
    "new_vm_url": "https://exe-staging.dev/new?prompt=Set%20up%20PocketBase%20on%20this%20VM%20by%20following%20the%20exe.dev%20recipe%20at%20https%3A%2F%2Fexe-staging.dev%2Fdeploy%2Fpocketbase.md%20from%20top%20to%20bottom.%0A%0AThe%20recipe%27s%20example%20VM%20name%20is%20my-pocketbase.%20This%20VM%27s%20name%20is%20the%20output%20of%20%60hostname%60%3A%20use%20it%20wherever%20the%20recipe%20writes%20my-pocketbase.%20Skip%20the%20step%20that%20creates%20the%20VM%3B%20you%20are%20on%20it.%0A%0AYou%20are%20done%20when%20all%20of%20these%20are%20true.%20Check%20each%20one%20yourself%3A%0A-%20PocketBase%20running%20under%20systemd%2C%20back%20after%20a%20reboot.%0A-%20A%20superuser%20for%20your%20exe.dev%20email%2C%20with%20a%20random%20password%20kept%20in%20a%20mode%20600%20file.%0A-%20A%20private%20dashboard%20on%20port%208090%20and%20an%20app%20port%2C%208000%2C%20that%20is%20safe%20to%20make%20public.%0A-%20A%20live%20notes%20page%20that%20shows%20realtime%20updates%20through%20exe.dev%27s%20proxy.%0A-%20Nightly%20backups%2C%20and%20an%20encryption%20key%20for%20PocketBase%27s%20settings%2C%20kept%20in%20a%20mode%20600%20file.%0A%0ARead%20the%20whole%20recipe%2C%20including%20closed%20details%2C%20and%20follow%20%22Install%20by%0Ahand%22%20first.%20The%20opening%20walkthrough%20is%20for%20the%20owner%20afterwards.%0AWork%20as%20exedev%20in%20~%2Fpocketbase.%20Do%20not%20make%20the%20VM%20public%2C%20set%20up%20SMTP%0Aor%20S3%2C%20or%20run%20the%20later%20Restore%2C%20Update%2C%20or%20Go%20framework%20instructions.%0ANever%20print%20the%20superuser%20password%20or%20the%20encryption%20key%20into%20the%20chat.%0AVerify%20each%20step%20as%20the%20recipe%20says%3A%20the%20service%20is%20enabled%20and%20healthy%2C%0Aport%208000%20serves%20the%20notes%20page%20and%20refuses%20superuser%20sign-in%20with%20403%2C%0Aand%20port%208090%20accepts%20the%20superuser%27s%20password.%0AFinish%20with%20the%20dashboard%20URL%20on%20port%208090%20and%20the%20app%20URL%2C%20and%20tell%20the%0Aowner%20the%20password%20is%20in%20~%2Fpocketbase%2Fsuperuser.txt.%0A%0AFinish%20with%20the%20URLs%20I%20should%20open.%0A",
    "terminal": "curl -fsSL https://exe-staging.dev/deploy/pocketbase/prompt.txt | ssh exe.dev new --prompt=/dev/stdin",
    "prompt": "Set up PocketBase on this VM by following the exe.dev recipe at https://exe-staging.dev/deploy/pocketbase.md from top to bottom.\n\nThe recipe's example VM name is my-pocketbase. This VM's name is the output of `hostname`: use it wherever the recipe writes my-pocketbase. Skip the step that creates the VM; you are on it.\n\nYou are done when all of these are true. Check each one yourself:\n- PocketBase running under systemd, back after a reboot.\n- A superuser for your exe.dev email, with a random password kept in a mode 600 file.\n- A private dashboard on port 8090 and an app port, 8000, that is safe to make public.\n- A live notes page that shows realtime updates through exe.dev's proxy.\n- Nightly backups, and an encryption key for PocketBase's settings, kept in a mode 600 file.\n\nRead the whole recipe, including closed details, and follow \"Install by\nhand\" first. The opening walkthrough is for the owner afterwards.\nWork as exedev in ~/pocketbase. Do not make the VM public, set up SMTP\nor S3, or run the later Restore, Update, or Go framework instructions.\nNever print the superuser password or the encryption key into the chat.\nVerify each step as the recipe says: the service is enabled and healthy,\nport 8000 serves the notes page and refuses superuser sign-in with 403,\nand port 8090 accepts the superuser's password.\nFinish with the dashboard URL on port 8090 and the app URL, and tell the\nowner the password is in ~/pocketbase/superuser.txt.\n\nFinish with the URLs I should open.\n",
    "prompt_url": "https://exe-staging.dev/deploy/pocketbase/prompt.txt"
  },
  "updated": "2026-11-16",
  "verified": "2026-11-16",
  "related": [
    "sqlite",
    "postgres",
    "go",
    "nodejs",
    "metabase",
    "mongodb"
  ],
  "alternatives": [
    "Firebase",
    "Supabase",
    "Appwrite"
  ],
  "files": [
    "https://exe-staging.dev/deploy/pocketbase/exe-email.pb.js",
    "https://exe-staging.dev/deploy/pocketbase/index.html",
    "https://exe-staging.dev/deploy/pocketbase/main.go",
    "https://exe-staging.dev/deploy/pocketbase/private-superusers.pb.js"
  ]
}
