Run uptime kuma with persisten sqlite database via litestream
docker build -t litestream-uptime-kuma .
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
UPTIME_KUMA_VERSION
: Kuma versionLITESTREAM_VERSION
: Litestream versionLITESTREAM_ACCESS_KEY_ID
: Storage bucket acces key idLITESTREAM_SECRET_ACCESS_KEY
: Storage bucket access keyLITESTREAM_BUCKET
: Storage bucketLITESTREAM_URL
: Storage url endpoint
- Use disrtoless image
gcr.io/distroless/nodejs18-debian11
- Use
node:slim
- currently some ssl issues