User directory: synced across multiple cloudrons
-
Is it currently possible to sync the user directory across multiple cloudrons officially or via a magical hack?
Use case: I have 3 servers. 3 admin accounts for myself. Moved apps around that rely on the user directory. The original users don’t exist on the other servers… you can see the problem with that for apps like matrix/synapse.
I think I can have the user directory of server #1 be the main directory of the other two, but if server 1 goes down, the other two are affected unless they’re synced for redundancy!
-
Cloudron can sync (although only one-way) user accounts. One Cloudron becomes the single source of truth. So yes if that Cloudron is down, and sessions within the apps on other connected Cloudron require login, it will be a temporary issue.
Full two-way sync is a hard topic and also error prone with required conflict resolution. Given that virtual servers are very stable these days, I would go with a dedicated Cloudron acting as the main user-directory for others. Mostly this is also how we use it internally.
The docs for doing that one-way are at https://docs.cloudron.io/user-directory/#cloudron