[{"data":1,"prerenderedAt":119},["ShallowReactive",2],{"seo-verification":3,"marketplace-app-en-pocketbase":6},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"slug":7,"slugs":8,"categorySlugs":9,"name":13,"description":14,"phase":15,"unavailableReason":16,"docsUrl":17,"logo":18,"github":19,"tagline":20,"longDescription":21,"features":22,"useCases":30,"steps":40,"faq":59,"specs":78,"compatibleOs":86,"relatedApps":88,"relatedPosts":114,"category":116},"pocketbase",{"fr":7,"en":7,"ar":7},{"fr":10,"en":11,"ar":12},"developpement","development","التطوير","PocketBase","Complete backend in a single Go binary — embedded SQLite, realtime REST & WebSocket API, auth, file storage and admin dashboard. Deploy a full backend in under 5 minutes.",1,null,"https:\u002F\u002Fservorbit.com\u002Fblog\u002Fhosting-pocketbase-on-a-vps","https:\u002F\u002Fcdn.simpleicons.org\u002Fpocketbase","https:\u002F\u002Fgithub.com\u002Fpocketbase\u002Fpocketbase","Your complete backend in a single Go binary — database, realtime API, auth and admin UI in one command.","PocketBase is an open-source backend-as-a-service written in Go. It ships as a single executable: launch it and you instantly get an embedded SQLite database with automatic migrations, a realtime REST and WebSocket API, a full authentication system (email\u002Fpassword, OAuth2, OTP, magic link), file storage with image resizing, and a web-based admin dashboard.\n\nDeployed on a ServOrbit VPS, PocketBase replaces an entire backend stack for prototypes, MVPs and production apps. No separate database server to manage, no ORM to configure, no auth library to wire up — one binary, one port, one volume to back up. Its OpenAI-friendly REST API and JavaScript SDK make it the go-to backend for solo developers and small teams who want to ship fast without managing infrastructure.",[23,24,25,26,27,28,29],"Embedded SQLite with schema builder and automatic migrations — no database server to configure","Realtime subscriptions via WebSocket — push record updates to clients the moment they happen","Built-in auth: email\u002Fpassword, OAuth2 (Google, GitHub, Apple, Twitter…), OTP, and magic link","File storage with on-the-fly image resizing and public\u002Fprivate access control per collection","Auto-generated REST API with filtering, sorting, pagination and field visibility rules","Web-based admin dashboard — manage collections, records, users and settings in your browser","Extend with JavaScript hooks or use PocketBase as a Go framework for custom business logic",[31,34,37],{"title":32,"body":33},"MVP \u002F prototype backend","Launch a full backend API in 5 minutes. No separate database, no auth library, no config files — just one binary and you start building your frontend.",{"title":35,"body":36},"Self-hosted BaaS","Replace Firebase or Supabase with a self-hosted alternative at a fixed monthly VPS cost. No per-row billing, no surprise invoices, full data ownership.",{"title":38,"body":39},"Mobile & SPA backend","Wire your React, Vue, Flutter or React Native app to PocketBase via its JavaScript or Dart SDK. Realtime subscriptions update your UI instantly on every record change.",[41,44,47,50,53,56],{"title":42,"body":43},"Order a ServOrbit VPS","PocketBase is very frugal: 512 MB of RAM is enough to run it, and 2 GB gives comfortable headroom for real production use with file storage. One vCPU is fine in the vast majority of cases.",{"title":45,"body":46},"Deploy PocketBase from the Marketplace","In your ServOrbit client area: Marketplace → Development → PocketBase → Deploy. The `ghcr.io\u002Fmuchobien\u002Fpocketbase:latest` image starts in under a second, and all state — the SQLite database as well as the uploaded files — lives in the `pocketbase` volume mounted on `\u002Fpb\u002Fpb_data`.",{"title":48,"body":49},"Sign in for the first time","The admin console is not created self-service, and that is good news: on first boot, PocketBase writes a single-use installation link into the container logs, of the form `\u002F_\u002F#\u002Fpbinstal\u002F\u003Ctoken>`. Without that link and the token it carries, nobody can create the superuser account — so there is no default username and no default password to change. ServOrbit picks the link up for you and shows it on your app's card in the client area; you can also find it yourself with `docker logs pocketbase`. Open it, choose the e-mail address and the password of your superuser account, and the console is yours.",{"title":51,"body":52},"Open the admin console","Once the superuser account has been created, the console is at `https:\u002F\u002F\u003Cyour-domain>\u002F_\u002F` if a domain is attached to the application. Without a domain there is no public address: open an SSH tunnel with `ssh -L 8090:127.0.0.1:8090 root@\u003Cyour-vps-ip>` then go to `http:\u002F\u002Flocalhost:8090\u002F_\u002F` — 8090 is the catalogue port, use the one shown on your app's card in the client area.",{"title":54,"body":55},"Define your collections","From the console, create your collections — the equivalent of tables — and their fields: text, number, relation, file, JSON, select list. Each collection carries its own read and write access rules, expressed as conditions: that is where you decide who sees what, rather than in your application's code.",{"title":57,"body":58},"Attach your domain and connect your app","Attach the domain that will carry your API from your client area: ServOrbit installs the nginx vhost and the TLS certificate, including for the WebSocket connections that realtime subscriptions rely on. There is no reverse proxy to install and no certificate to renew. All that is left is to point your SDK at `https:\u002F\u002F\u003Cyour-domain>` and consume the API from your application.",[60,63,66,69,72,75],{"q":61,"a":62},"What is PocketBase?","PocketBase is an open-source backend-as-a-service (BaaS) written in Go. It packages an SQLite database, a realtime REST+WebSocket API, authentication, file storage and an admin dashboard in a single binary — no external dependencies required.",{"q":64,"a":65},"How does PocketBase compare to Supabase or Firebase?","PocketBase is far lighter: one binary on 512 MB RAM vs Supabase's 10+ Docker services needing 8+ GB. You get SQLite (excellent for most apps) instead of PostgreSQL, and full data sovereignty at a fixed VPS cost. Firebase and Supabase win at infinite scale; PocketBase wins on simplicity and cost for apps under ~1 M daily requests.",{"q":67,"a":68},"Is PocketBase production-ready?","Yes. PocketBase is used in production by thousands of projects. Embedded SQLite scales to millions of rows for most workloads. For extremely high write concurrency (10 000+ writes\u002Fsec), a dedicated relational database is more appropriate — but that threshold is far above typical app traffic.",{"q":70,"a":71},"Can I add custom business logic to PocketBase?","Yes. PocketBase supports JavaScript hooks (available since v0.17) for event-driven logic: run code before or after record create, update, delete, auth, and more. For advanced cases, use PocketBase as a Go framework and extend it by embedding it in your own Go application.",{"q":73,"a":74},"How do I back up my PocketBase data?","All data lives in the `\u002Fpb\u002Fpb_data` directory: one SQLite file plus uploaded files. Back up this Docker volume and you have everything. PocketBase also has a built-in backup API endpoint (`POST \u002Fapi\u002Fbackups`) available from the admin dashboard.",{"q":76,"a":77},"Which OAuth2 providers does PocketBase support?","PocketBase supports 10+ OAuth2 providers out of the box: Google, GitHub, GitLab, Apple, Twitter\u002FX, Facebook, Microsoft, Spotify, Kakao, Twitch and more. Enable them in Settings → Auth Providers and paste your OAuth2 client credentials.",{"ram":79,"cpu":80,"stack":81,"port":85},"512 MB (2 GB recommended)","1 vCPU",[82,83,84],"Docker","Go","SQLite","8090",[87],"ubuntu-24.04",[89,97,106],{"name":90,"slug":91,"categorySlug":11,"categoryName":92,"categoryColor":93,"logo":94,"tagline":95,"description":96},"Gitea","gitea","Development","text-warning bg-warning\u002F10","https:\u002F\u002Fcdn.jsdelivr.net\u002Fgh\u002Fselfhst\u002Ficons\u002Fsvg\u002Fgitea.svg","Your own GitHub, self-hosted on a single VPS — repositories, pull requests, CI\u002FCD and a package registry, with no per-seat billing.","Your own GitHub, self-hosted in minutes. Full Git platform with CI\u002FCD (Gitea Actions), package registry and team permissions — without usage-based billing.",{"name":98,"slug":99,"categorySlug":100,"categoryName":101,"categoryColor":102,"logo":103,"tagline":104,"description":105},"Coolify","coolify","application-deployment-devops","Application Deployment & DevOps","text-success bg-success\u002F10","https:\u002F\u002Fcdn.simpleicons.org\u002Fcoolify","Deploy from Git in seconds — a self-hosted alternative to Heroku, Render, and Netlify.","Deploy your applications from Git in seconds. Self-hosted, with no vendor lock-in, and automatic SSL.",{"name":107,"slug":107,"categorySlug":108,"categoryName":109,"categoryColor":110,"logo":111,"tagline":112,"description":113},"n8n","automation-workflows","Automation & Workflows","text-brand-action bg-brand-action\u002F10","https:\u002F\u002Fcdn.simpleicons.org\u002Fn8n","Automate your business processes with 400+ integrations — 100% self-hosted on your VPS.","Automate your workflows across applications without code. Over 400 integrations, 100% self-hosted on your VPS.",[115],"heberger-pocketbase-vps",{"key":10,"slug":11,"name":92,"objective":117,"icon":118,"color":93},"Kick off a software project quickly.","dev",1787581041225]