fix(infra): pin litestream to v0.5.8 for R2 compatibility

latest tag may resolve to an older version that treats Cloudflare R2's
NoSuchKey response on empty-prefix ListObjectsV2 as a hard error instead
of an empty list, causing the replica sync to stall on first deployment.
v0.5.8 is the current stable release (2026-02-12).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Deeman
2026-02-22 13:49:02 +01:00
parent 044dfd836b
commit ad5e2516c4

View File

@@ -18,7 +18,7 @@ services:
start_period: 10s
litestream:
image: litestream/litestream:latest
image: litestream/litestream:v0.5.8
restart: unless-stopped
# Auto-restore from R2 if DB file is missing, then start continuous replication.
# Handles: new server, deleted volume, disaster recovery.