On my server I run a single postgres container and create DBs and users for different apps within. Super resource light and I have 7 apps pointed at a single container. Much easier to manage backups as well when there are several apps in the single DB.
Comment on GitHub - voidauth/voidauth: An Easy to Use and Self-Host Single Sign-On Provider đââŹđ
eldereko@lemmy.dbzer0.com â¨3⊠â¨weeks⊠ago
the Postgres requirement is a dealbreaker for me. I donât get why all these âsimpleâ self-hosted apps need a bloated database. how many users is a self-hoster going to have, maybe 1-10? SQLite can easily handle thousands. Iâm currently using Authelia, and it even has a database-less YAML option for managing users
keyez@lemmy.world â¨3⊠â¨weeks⊠ago
notquitenothing@sh.itjust.works â¨3⊠â¨weeks⊠ago
You can do this with VoidAuth as well, by setting the DB_NAME variable
notquitenothing@sh.itjust.works â¨3⊠â¨weeks⊠ago
I do agree. I have been thinking about adding a SQLite option which should be easy since knex (the database package that VoidAuth uses) supports it. Before releasing that I would want to create some way to migrate your data from one database type to another. If you want to use VoidAuth feel free to make an issue for this!
Zelaf@sopuli.xyz â¨3⊠â¨weeks⊠ago
Having run minor projects using PocketBase before and also seen what PocketBase itself can do and SQLite configured correctly in general, Itâs great. Iâve gotten to be a big fan of it by the years and gladly opt for it over the bigger ones.
If this project got SQLite support it would be a great replacement for my own setup which requires about 3 or 4 accounts. Currently using a proprietary solution and been looking into moving to Authentik but itâs a bit too heavy resource wise for my current servers.
notquitenothing@sh.itjust.works â¨3⊠â¨weeks⊠ago
I will make an issue for adding SQLite support, it has been on my mind for the same reasons. I would say donât let the Postgres requirement stop you from trying it out. Modern hardware really doesnât mind having multiple containerized postgresdb instances running, it can be very lightweight when idle.
illusionist@lemmy.zip â¨3⊠â¨weeks⊠ago
Tbo, not using a tool because it only uses postgres sounds strange to me.
kayohtie@pawb.social â¨3⊠â¨weeks⊠ago
Yeah, I use Authentik currently and the main reason is simplicity of having it with LDAP. But Iâve considered running something else backed by FreeIPA to get more compatibility for LDAP. I feel like I have to fight to get something to work with it.
But it has some high overhead for sure.