Docker Compose Example
Details
This page shows version v0.9.6. The current version can be found here.
You can configure gdg in a variety of different ways but if you want so use secret the is currently the simplest pattern:
Then update your config file with the following:
secure_location: /run/secrets/
For any connection settings, you will have to additionally define all the connection settings accordingly.
Prior to 0.8
You can create a bash script that replaces the entrypoint as can be seen below:
Note, bash is not in previous containers, it will be added to later versions so you’ll have to use sh instead of bash.
This assumes that your grafana password is in a file called gf_passwd