PocketBase on Alpine with volume for data persistence
2.2K
Tagged as latest or with version
PocketBase port: 8080
Use replicator or replica images to support SQLite replication to/from S3-compatible storage. Replication is processed using Litestream.
Use replicator tagged image to restore database from S3 if replica exists in storage when container is created. Container creates volume for database directory to survive restarts and updates. Once database is created Litestream starts replicating to S3 and no more trying to restore database on container restart or recreate.
Use replica tagged image to create container that restore database on start or recreate. No volume is created with this container for database directory as data is treated as ephemeral. Litestream is not replicating to S3, so replica should be used as "read-only" (e.g. for local development).
Content type
Image
Digest
sha256:ba87194ac…
Size
18.1 MB
Last updated
almost 3 years ago
docker pull yareg/pocketbase