Sign inSign up

yareg/pocketbase

By yareg

•Updated almost 3 years ago

PocketBase on Alpine with volume for data persistence

Image
0

2.4K

yareg/pocketbase repository overview

⁠Plain PocketBase image without replication

Tagged as latest or with version

PocketBase port: 8080

⁠Replication to S3

Use replicator or replica images to support SQLite replication to/from S3-compatible storage. Replication is processed using Litestream.

⁠Environment variables

  • LITESTREAM_ACCESS_KEY_ID
  • LITESTREAM_SECRET_ACCESS_KEY
  • LITESTREAM_ENDPOINT
  • LITESTREAM_BUCKET
  • LITESTREAM_PATH
  • LITESTREAM_REGION

⁠Replicator image

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.

⁠Replica image

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).

Tag summary

Content type

Image

Digest

sha256:ba87194ac…

Size

18.1 MB

Last updated

almost 3 years ago

docker pull yareg/pocketbase