Hello,
I’m running a plugin with docker-compose up.
Here is my Docker-Compose.yaml
version: '3.0'
services:
grafana:
container_name: 'Helios-Grafana'
build:
context: ./.config
args:
grafana_version: ${GRAFANA_VERSION:-9.3.8}
environment:
- GF_DEFAULT_APP_MODE=development
- GF_DASHBOARDS_MIN_REFRESH_INTERVAL=0.1s
- GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=true
ports:
- 3000:3000/tcp
volumes:
- ./dist:/var/lib/grafana/plugins
- ./provisioning:/etc/grafana/provisioning
But with this I only have one of my plugin, did someone know how to display several plugin with Docker ?
Hi @nicolasdossantos248
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.
You can see the docker documentation about volumes Volumes | Docker Documentation to learn more of how they work.
1 Like
what do you have in ./dist
Hello, I have try to put what you tell me :
version: '3.0'
services:
grafana:
container_name: 'Helios-Grafana'
build:
context: ./.config
args:
grafana_version: ${GRAFANA_VERSION:-9.3.8}
environment:
- GF_DEFAULT_APP_MODE=development
- GF_DASHBOARDS_MIN_REFRESH_INTERVAL=0.1s
- GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=true
ports:
- 3000:3000/tcp
volumes:
- /var/lib/grafana/data/plugins
- ./provisioning:/etc/grafana/provisioning
But my plugin doesn’t appear. I have this path in my docker :
This is my path to file where my plugin is :
C:\Program Files\GrafanaLabs\grafana\data\plugins
I’m starting my docker compose in this file :
C:\Program Files\GrafanaLabs\grafana\data\plugins\helios-videov3-panel
I was wondering if put the docker-compose.yaml in the file where I have all my plugin can be a solution.
@yosiasz Here is what I have in my dist 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.
Here’s an article that talks about relative and absolute paths https://www.redhat.com/sysadmin/linux-path-absolute-relative
2 Likes