Back to Templates
PocketBase logo

PocketBase

vlatest

Open Source backend in 1 file

Deploy on Dokploy

Deploy PocketBase on Dokploy

  1. Install Dokploy on your server if you haven't already.
  2. In your Dokploy panel, open a project and click Create Service → Template.
  3. Search for PocketBase and click Create — Dokploy configures domains, environment variables, and volumes for you.

Alternatively, create a Compose service, go to Advanced → Import from Base64, and paste this payload:

base64
ewogICJjb21wb3NlIjogIiMgSU1QT1JUQU5UOiBQbGVhc2UgdXBkYXRlIHRoZSBhZG1pbiBjcmVkZW50aWFscyBpbiB5b3VyIC5lbnYgZmlsZVxuIyBBY2Nlc3MgUG9ja2V0QmFzZSBBZG1pbiBVSSBhdDogaHR0cHM6Ly95b3VyLWRvbWFpbi5jb20vXy8gKHJlcGxhY2Ugd2l0aCB5b3VyIGNvbmZpZ3VyZWQgZG9tYWluKVxuIyBOb3RlOiBBZG1pbiBVSSBtYXkgdGFrZSB1cCB0byAxIG1pbnV0ZSB0byBsb2FkIG9uIGZpcnN0IHN0YXJ0dXBcblxudmVyc2lvbjogXCIzLjhcIlxuXG5zZXJ2aWNlczpcbiAgcG9ja2V0YmFzZTpcbiAgICBpbWFnZTogYWRyaWFubXVzYW50ZS9wb2NrZXRiYXNlOmxhdGVzdFxuICAgIHJlc3RhcnQ6IGFsd2F5c1xuICAgIGV4cG9zZTpcbiAgICAgIC0gODA5MFxuICAgIHZvbHVtZXM6XG4gICAgICAtIHBvY2tldGJhc2UtZGF0YTovcG9ja2V0YmFzZVxuICAgIGVudmlyb25tZW50OlxuICAgICAgLSBQT0NLRVRCQVNFX0FETUlOX0VNQUlMPSR7QURNSU5fRU1BSUx9XG4gICAgICAtIFBPQ0tFVEJBU0VfQURNSU5fUEFTU1dPUkQ9JHtBRE1JTl9QQVNTV09SRH1cbiAgICAgIC0gUE9DS0VUQkFTRV9BRE1JTl9VUFNFUlQ9dHJ1ZVxuICAgICAgLSBQT0NLRVRCQVNFX1BPUlRfTlVNQkVSPTgwOTBcbiAgICAgICMgT3B0aW9uYWw6IEVuY3J5cHRpb24ga2V5IGZvciBzZWN1cmluZyBhcHAgc2V0dGluZ3MgKE9BdXRoMiBzZWNyZXRzLCBTTVRQIHBhc3N3b3JkcywgZXRjLilcbiAgICAgICMgVW5jb21tZW50IGFuZCBzZXQgYSBzZWN1cmUga2V5IGluIHlvdXIgLmVudiBmaWxlIGZvciBwcm9kdWN0aW9uIHVzZVxuICAgICAgIyAtIFBPQ0tFVEJBU0VfRU5DUllQVElPTl9LRVk9JHtFTkNSWVBUSU9OX0tFWX1cbiAgICBoZWFsdGhjaGVjazpcbiAgICAgIHRlc3Q6IFtcIkNNRFwiLCBcIndnZXRcIiwgXCItcU8tXCIsIFwiaHR0cDovL2xvY2FsaG9zdDo4MDkwL18vXCJdXG4gICAgICBpbnRlcnZhbDogMzBzXG4gICAgICB0aW1lb3V0OiAxMHNcbiAgICAgIHJldHJpZXM6IDNcblxudm9sdW1lczpcbiAgcG9ja2V0YmFzZS1kYXRhOiB7fSIsCiAgImNvbmZpZyI6ICJbdmFyaWFibGVzXVxubWFpbl9kb21haW4gPSBcIiR7ZG9tYWlufVwiXG5hZG1pbl9lbWFpbCA9IFwiJHtlbWFpbH1cIlxuYWRtaW5fcGFzc3dvcmQgPSBcIiR7cGFzc3dvcmQ6MzJ9XCJcblxuW2NvbmZpZ11cbltbY29uZmlnLmRvbWFpbnNdXVxuc2VydmljZU5hbWUgPSBcInBvY2tldGJhc2VcIlxucG9ydCA9IDgwOTBcbmhvc3QgPSBcIiR7bWFpbl9kb21haW59XCJcblxuW2NvbmZpZy5lbnZdXG5BRE1JTl9FTUFJTCA9IFwiJHthZG1pbl9lbWFpbH1cIlxuQURNSU5fUEFTU1dPUkQgPSBcIiR7YWRtaW5fcGFzc3dvcmR9XCJcblxuW1tjb25maWcubW91bnRzXV1cbm5hbWUgPSBcInBvY2tldGJhc2UtZGF0YVwiXG5tb3VudFBhdGggPSBcIi9wb2NrZXRiYXNlXCIiCn0=

Configuration

The exact Docker Compose and template configuration this template deploys.

Related Templates

Convex logo

Convex

Version: latest

Convex is an open-source reactive database designed to make life easy for web app developers.

backenddatabaseapi
TrailBase logo

TrailBase

Version: latest

TrailBase is a blazingly fast, open-source application server with type-safe APIs, built-in WebAssembly runtime, realtime, auth, and admin UI built on Rust, SQLite & Wasmtime.

backenddatabaseapi
Gotenberg logo

Gotenberg

Version: latest

Gotenberg is a Docker-powered stateless API for PDF files.

apibackendpdf
SpacetimeDB logo

SpacetimeDB

Version: v2.6.1

SpacetimeDB is a relational database with a built-in server runtime. Clients connect directly to the database and run server-side logic (modules) inside it, making it ideal for real-time multiplayer games, chat and collaborative applications without a separate backend.

databaserealtimebackend
Apprise API logo

Apprise API

Version: latest

Apprise API provides a simple interface for sending notifications to almost all of the most popular notification services available to us today.

notificationsapi
Appwrite logo

Appwrite

Version: 1.9.5

Appwrite is an end-to-end platform for building Web, Mobile, Native, or Backend apps, packaged as a set of Docker microservices. It includes both a backend server and a fully integrated hosting solution for deploying static and server-side rendered frontends. Appwrite abstracts the complexity and repetitiveness required to build modern apps from scratch and allows you to build secure, full-stack applications faster. Using Appwrite, you can easily integrate your app with user authentication and multiple sign-in methods, a database for storing and querying users and team data, storage and file management, image manipulation, Cloud Functions, messaging, and more services.

databasefirebasemariadb

Self-host PocketBase in minutes

Dokploy is a free, open source deployment platform. Deploy PocketBase and 499+ other templates on your own infrastructure with a single click.