Two Docker Grafana instances sharing the same data container

My current goal is to have a user facing Grafana instance that only shows the option for generic Oauth login while still allowing super admin login (without showing the user the basic authentication form).

I have tried to use the same email for the super admin account (as defined in the configuration options) and an oauth user. This did not satisfy a uniqueness requirement.

My newest idea would be to have two Grafana Docker instances running with the same mounted volume but with different configuration options (external one with only generic oauth enabled and an internal one with both).

Would this make sense?

Any news on this topic? Trying to acomplish the same thing right now.

This was a valid a requirement while ago, but not now. Now Grafana’s OAuth implementation supports role mapping, so admin role can be mapped directly to user roles.