you can point /var/lib/grafana/plugins to a folder with multiple plugins in it. Currently you point it to the ./dist of your plugin (and that’s why only one its loaded).
put several plugins in a folder and point that folder correctly in your docker file.
With this configuration you are not pointing any local folder to the docker volume but just to a standard docker volume.
you need to pass the local folder then colon : the container folder.
e.g.:
- ./plugins:/var/lib/grafana/data/plugins
Where you put your docker-compose file is relevant to the relative routes that you use. In the line I sent you, docker will mount a folder called plugins at the same level of the docker-compose file in the grafana plugins folder.
Please notice that all these topics are outside of the scope of grafana and are about how to use docker and docker-compose and it is best if you refer to those projects documentation.