We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27f96af commit 2e78724Copy full SHA for 2e78724
cmd/litefs/mount_linux.go
@@ -451,6 +451,10 @@ func (c *MountCommand) initBackupConfigFromEnv(ctx context.Context) {
451
return
452
}
453
454
+ if env := strings.TrimSpace(os.Getenv("LITEFS_CLOUD_ENDPOINT")); env != "" {
455
+ c.Config.Backup.URL = env
456
+ }
457
+
458
// Only set if backup is not configure or if it's configured for LiteFS Cloud.
459
if c.Config.Backup.Type != "" && c.Config.Backup.Type != "litefs-cloud" {
460
0 commit comments