Documentation Index
Fetch the complete documentation index at: https://docs.dbdock.xyz/llms.txt
Use this file to discover all available pages before exploring further.
dbdock.config.json. migrate-config extracts them and moves them to .env, which is where they should be.
When to run it
If you have any of the following indbdock.config.json:
database.passwordstorage.s3.accessKeyId/secretAccessKeystorage.cloudinary.apiKey/apiSecretbackup.encryption.secretalerts.email.smtp.auth.user/passalerts.slack.webhookUrl
What it does
- Reads
dbdock.config.json - Extracts secrets to
.env(appending, not overwriting existing vars) - Rewrites
dbdock.config.jsonwithout the secrets - Updates
.gitignoreto ensure.envis excluded - Prints a summary of what moved where
Sample output
Safe to run multiple times
If there are no secrets in the config,migrate-config exits cleanly with no changes. You can run it anytime to check.
After migration
Enable strict mode to prevent regression:See also
Security
Why secrets don’t belong in config files.
Configuration
Where every secret should live.

