Skip to content

Uptime kuma with persistent sqlite database via litestream

Notifications You must be signed in to change notification settings

fluential/litestream-uptime-kuma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hits

Uptime-Kuma with persistent sqlite database

Run uptime kuma with persisten sqlite database via litestream

Deploy on Railway

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

About

Uptime kuma with persistent sqlite database via litestream

Resources

Stars

Watchers

Forks

Releases

No releases published