https://github.com/mobilpadde/pocketstream
Pocketbase + LiteStream 🤷
https://github.com/mobilpadde/pocketstream
Last synced: 5 months ago
JSON representation
Pocketbase + LiteStream 🤷
- Host: GitHub
- URL: https://github.com/mobilpadde/pocketstream
- Owner: Mobilpadde
- License: mit
- Created: 2023-04-22T20:05:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-23T11:54:58.000Z (over 3 years ago)
- Last Synced: 2025-10-24T17:24:26.003Z (9 months ago)
- Language: Dockerfile
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PocketStream
> A **pocket**base and lite**stream** combined Docker-image
This is inspired by [Ben Johnson](https://github.com/benbjohnson/litestream-docker-example)'s own Dockerfile example for [litestream](https://github.com/benbjohnson/litestream) and [Pocketbase](https://github.com/pocketbase/pocketbase).
I decided, for reasons unknown, to make an image with both litestream and pocketbase in one, as the example from Ben Johnson above.
This is simply my take.
## Run directly
This is ran in **almost** same way as the example mentioned above.
```sh
docker run \
-p 8090:80890 \ # exposing of the pocketbase admin-UI - if wanted
-v /path/to/litestream.yml:/etc/litestream.yml \ # your custom config for litestream
-v ${PWD}:/data \ # only if you want the look at the data locally
-e REPLICA_URL=s3://BUCKET/db \ # should probably be the same as in the litestream-config
ghcr.io/mobilpadde/pocketstream
```
## As base image
Personally I'm probably going to use this way, as I might want to build further upon this.
```Dockerfile
FROM ghcr.io/mobilpadde/pocketstream
ENV REPLICA_URL=s3://BUCKET/db
```