Skip to content

[Security] Generate secrets for Docker DB containers - #9086

Open
Chessing234 wants to merge 2 commits into
omacom:quattrofrom
Chessing234:security/docker-dbs-generated-secrets
Open

[Security] Generate secrets for Docker DB containers#9086
Chessing234 wants to merge 2 commits into
omacom:quattrofrom
Chessing234:security/docker-dbs-generated-secrets

Conversation

@Chessing234

@Chessing234 Chessing234 commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • MySQL/MariaDB allowed empty root passwords, Postgres used trust, Mongo used admin/admin123, MSSQL used a fixed SA password
  • Anything on the machine that can reach the loopback ports got database superuser
  • Generate per-install secrets, require auth for every engine, and write credentials to ~/.config/omarchy/docker-dbs/*.env mode 0600

Test plan

  • bash test/shell.d/docker-dbs-secrets-test.sh
  • Install PostgreSQL via the menu; confirm the container requires the password from the env file

MySQL/MariaDB allowed empty root, Postgres used trust, Mongo used
admin/admin123, and MSSQL used a fixed SA password. Any local process
on the loopback ports got superuser. Generate per-install secrets.
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