-
Hi Can multiple instances of LLDAP share the same SQLite database through a shared volume or network drive? How is the situation when using a shared Postgres DB? It would be sufficient if one LLDAP is used as a "master" to make modifications and the others are used as read-only. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
I'm using sqlite, inotify and rsync. It's a cursed setup that works so far. 🫣 |
Beta Was this translation helpful? Give feedback.
-
Each LLDAP instance is stateless. Assuming they all have the same config, sharing a postgres or MySQL DB should work well (and afaik many users do this, as a HA setup). Make sure to use a key_seed, not a key_file for the private key. Sharing SQLite is not recommended (each file should only be opened by a single process). |
Beta Was this translation helpful? Give feedback.
Each LLDAP instance is stateless. Assuming they all have the same config, sharing a postgres or MySQL DB should work well (and afaik many users do this, as a HA setup).
Make sure to use a key_seed, not a key_file for the private key.
Sharing SQLite is not recommended (each file should only be opened by a single process).