fix: move to native LiteFS leadership management with if-candidate: true
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 41s

This commit is contained in:
2026-04-27 08:52:41 -07:00
parent c04c00143e
commit 402553a674
2 changed files with 25 additions and 161 deletions

View File

@@ -8,6 +8,8 @@ data:
# Use Consul for leader election
lease:
type: "consul"
candidate: true
promote: true
advertise-url: "http://${ADVERTISE_IP}:20202"
consul:
url: "${CONSUL_URL}"
@@ -34,3 +36,4 @@ proxy:
# Commands to run only on the primary node.
exec:
- cmd: "/usr/local/bin/entrypoint.sh"
if-candidate: true