Docker, one instance InfluxDB, multiple user Db's

We currently have a model whereby our users deploy a container containing an instance of InfluxDB where Jmeter writes its output to for display by Grafana. This results in multiple containers running InfluxDB and Grafana, one of each for each user.

What we would like is to set up 2 containers, one for InfluxDB, and one for Grafana. Then have these users point their Jmeter tests to those servers. Has anybody set this use case up successfully and can you possibly give us some pointers to what you found?

Thank you