https://github.com/fluential/litestream-uptime-kuma
Uptime kuma with persistent sqlite database via litestream
https://github.com/fluential/litestream-uptime-kuma
Last synced: over 1 year ago
JSON representation
Uptime kuma with persistent sqlite database via litestream
- Host: GitHub
- URL: https://github.com/fluential/litestream-uptime-kuma
- Owner: fluential
- Created: 2022-12-14T14:53:26.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-02-11T11:16:42.000Z (over 2 years ago)
- Last Synced: 2025-03-17T15:57:49.093Z (over 1 year ago)
- Language: Dockerfile
- Homepage:
- Size: 11.7 KB
- Stars: 15
- Watchers: 1
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://hits.seeyoufarm.com)
## Uptime-Kuma with persistent sqlite database
Run uptime kuma with persisten sqlite database via [litestream](https://litestream.io)
[](https://railway.app/new/template/UfDasl?referralCode=373)
## Usage
### Build
```
docker build -t litestream-uptime-kuma .
```
### Run
```
docker run --rm -ti -p 3001:3001 -e LITESTREAM_ACCESS_KEY_ID='XXX' -e LITESTREAM_SECRET_ACCESS_KEY='YYY' -e LITESTREAM_BUCKET=uptime-kuma -e LITESTREAM_URL=https://YYY.r2.cloudflarestorage.com litestream-uptime-kuma
```
## Environment Variables:
- `UPTIME_KUMA_VERSION`: Kuma version
- `LITESTREAM_VERSION`: Litestream version
- `LITESTREAM_ACCESS_KEY_ID`: Storage bucket acces key id
- `LITESTREAM_SECRET_ACCESS_KEY`: Storage bucket access key
- `LITESTREAM_BUCKET`: Storage bucket
- `LITESTREAM_URL`: Storage url endpoint
## TODO
- Use disrtoless image `gcr.io/distroless/nodejs18-debian11`
- Use `node:slim` - currently some ssl issues