wizarrrr / wizarr

Wizarr is an advanced user invitation and management system for Jellyfin, Plex, Emby etc.
https://docs.wizarr.dev
MIT License
1.31k stars 92 forks source link

[Feature] - Use postgres as database #476

Open RyuunosukeDS3 opened 3 months ago

RyuunosukeDS3 commented 3 months ago

I'd like to see wizarr have an option to use postgres as its database. For users using kubernetes this is a crucial feature.

albinmedoc commented 2 months ago

Why is this a crucial feature when using kubernetes?

SQLite should work without problems with as little data as wizarr saves.

RyuunosukeDS3 commented 2 months ago

Cuz then I don't really need to have a persistent volume, I can just edit the config directly on my gitops solution and use Postgres as database.

albinmedoc commented 2 months ago

There are some things that cannot be saved in the database, such as uploaded files. They need to be saved on a persistent volume.

RyuunosukeDS3 commented 2 months ago

That would be the case for people who actually use this feature. But then again they could make a persistent volume for that folder only, and also if we want to go a step further there are ways to save files in databases. Just need to enconde/decode it.