Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fluential/litestream-uptime-kuma
Uptime kuma with persistent sqlite database via litestream
https://github.com/fluential/litestream-uptime-kuma
Last synced: about 2 months 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 (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-11T11:16:42.000Z (12 months ago)
- Last Synced: 2024-10-15T10:28:22.480Z (3 months ago)
- Language: Dockerfile
- Homepage:
- Size: 11.7 KB
- Stars: 15
- Watchers: 1
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Ffluential%2Flitestream-uptime-kuma%2F&count_bg=%2379C83D&title_bg=%23555555&icon=github.svg&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)
## Uptime-Kuma with persistent sqlite database
Run uptime kuma with persisten sqlite database via [litestream](https://litestream.io)
[![Deploy on Railway](https://railway.app/button.svg)](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