Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store some configuration items in DB #1508

Closed
techknowlogick opened this issue Jul 13, 2019 · 1 comment
Closed

Store some configuration items in DB #1508

techknowlogick opened this issue Jul 13, 2019 · 1 comment
Labels
🧠 Backend Related to server logic and execution 💭 Suggestion Proposed ideas or changes

Comments

@techknowlogick
Copy link
Contributor

Applications such as Mastodon and WordPress store most of their configuration in the database.

Some configuration items such as DB information, and other sensitive information such as email, cache, and queue connection information, and even session requiring a secure cookie (maybe soon also S3 connection info) should remain in file, but I worry about allowing free form editing of he configuration file. This gives the benefit of providing a user interface to admins to change config values and have descriptions next to them of what they do.

I host several pixelfed instances on kubernetes, and so I have public & storage as mountable volumes, but if I wanted to provide write access to .env then I would require the root directory of the directory to also be mounted into the container, which would prevent easy upgrades by just switching out the container.

@dansup dansup added 💭 Suggestion Proposed ideas or changes 🧠 Backend Related to server logic and execution labels Jul 14, 2019
@trwnh trwnh added this to the 0.12.0 - Polish milestone Aug 21, 2019
@dansup
Copy link
Member

dansup commented Jul 7, 2021

Added in f2066b7!

@dansup dansup closed this as completed Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧠 Backend Related to server logic and execution 💭 Suggestion Proposed ideas or changes
Projects
None yet
Development

No branches or pull requests

3 participants