Skip to content

Support Docker secrets and normalize SSH credentials in UI#56

Merged
Skyfay merged 4 commits into
mainfrom
dev
May 5, 2026
Merged

Support Docker secrets and normalize SSH credentials in UI#56
Skyfay merged 4 commits into
mainfrom
dev

Conversation

@Skyfay
Copy link
Copy Markdown
Owner

@Skyfay Skyfay commented May 5, 2026

No description provided.

Skyfay added 4 commits May 5, 2026 21:18
Add _FILE secret resolution in docker-entrypoint.sh for ENCRYPTION_KEY and BETTER_AUTH_SECRET. The entrypoint reads the file path from the corresponding *_FILE env var, trims trailing newlines, validates readability/non-empty content, exports the resolved value and exits with an error on failures. Update docs and changelog: add vNEXT entry describing the feature, document the _FILE convention and error handling in the developer environment reference, add Docker Swarm/Compose examples to the installation guide, and adjust security best-practices to recommend using _FILE secrets in production.
Normalize SQLite's unprefixed SSH fields and forward SSH credential profiles through the UI and API. The test-ssh route now lifts SQLite fields (host/username/authType/...) to ssh*-prefixed keys so extractSshConfig and username validation work uniformly; the Database form sends adapterId and sshCredentialId when testing SSH. FieldList, SchemaField and FileBrowserDialog propagate sshCredentialId to the filesystem/remote route, which registers adapters and overlays the referenced SSH credential onto the config before connecting via SFTP. Adds a changelog entry describing the bugfix. (refs #55)
Add per-adapter icons to the Storage Explorer Source column and update the changelog. Replaced the generic Database icon with AdapterIcon in src/app/dashboard/storage/columns.tsx (adjusted imports and icon markup) so the Source column displays adapter-specific icons (MySQL, PostgreSQL, MongoDB, SQLite, etc.). Also added an "Improvements" entry to docs/changelog.md describing the visual change to match the Sources page.
Release changes for v2.1.1: bump project and docs versions, update OpenAPI files, and publish changelog entry. Files updated: package.json, docs/package.json, api-docs/openapi.yaml, public/openapi.yaml, and docs/changelog.md. Changelog records release (May 5, 2026) and notes Docker Secrets support and SSH Credential Profile fixes; Docker image tag updated to skyfay/dbackup:v2.1.1 (also tagged as latest and v2).
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
dbackup-docs 19140e9 May 05 2026, 08:09 PM

@Skyfay Skyfay merged commit 09b0730 into main May 5, 2026
9 checks passed
@Skyfay Skyfay deleted the dev branch May 7, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant