Replies: 3 comments 2 replies
-
Unfortunately not. Docker will not provide auto scaling and High availability. That needs Kubernetes as a platform.
For professional use, we outsource both: OIDC provider and LDAP. Our classic is external Keycloak and OpenLDAP. |
Beta Was this translation helpful? Give feedback.
-
@micbar Sorry I was not absolutly clear, I updated the initial post. Im not using Docker Standalone, but Docker Swarm. I have RWX volumes, overlay network, task(= pod) schedueling. I do not see what K8S has what I cannot provide. About the keycloak in the example: the OIDC part is okay, and kinda works already. What I do not see where to plug an external LDAP. I mean I can spin up an What still puzzles me, why do I even need that, when Authelia has its own user database albeit its just a file. |
Beta Was this translation helpful? Give feedback.
-
Okay, if that works for you. There are some services which cannot scale, currently only the search service.
These are the settings for the LDAP and Keycloak connection https://github.com/opencloud-eu/opencloud-compose/blob/main/idm/ldap-keycloak.yml#L6-L31
I do not get what you mean with OpenCloud needs to store user information. Authelia has its own user database and stores identifiers and so on. OpenCloud needs to access that data for sharing. There is no defined standard API in OIDC to fetch users. So we need to also store user data for OpenCloud to be avaiable. LDAP is currently the only well known standard to be used across different systems. In the future that may be SCIM. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having a test drive with Opencloud after using OCIS for the last year or so and so far I'm impressed with it. Even managed to integrate Authelia what I could not for the love of my god with OCIS... So my next experiment would be to run more then one instance of it to distribute the load between my nodes and achieve some fault tolerance. All of this with docker swarm not kubernetes (yeah I know... but k8s is just too much for home use)
So far I got to the point that I have Nats for all sorts of caching/event syncing(borowed from my OCIS installation). I went through all the service documentation to check what should I outsource to an external Nats, but correct my config below if I missed something.
I have external IDP as mentioned: Authelia.
Storage is CephFS between my nodes.
/data3 and /config3 are CephFS mount s
Where I'm stucked and cannot really progress is IDM. As I was decyphering the Helm chart provided, and found opencloud-eu/helm#53 where it is stated that I should disable the built in IDM, and use an external LDAP. I'm confused at this point. My user management is handled by Authelia, why would I need an LDAP besides that?
My current docker services look like this:
Nats from my OCIS setup:
Corresponding Authelia config (not sure if any related)
With one replica, AND IDM enabled its works fine.
If I disable the builtin IDM it brakes
If i bump to two or more replicas it brakes no mater with or without IDM.
With loglevel

info
I get no errors justWith
debug
I get hundred million log entries, but filtering a bit results me with thisRight now I disabled account autoprovisioning, but did not really help tho.
So my question would be. Am I even on the right track to make OC scalable with docker swarm?
What am I missing? How do I really outsource the userdatabase to an external service like Authelia? As far as I understand, right now its some kind of tandem with the OIDC provider and the built in LDAP.
Beta Was this translation helpful? Give feedback.
All reactions