I have like this container in my docker-compose file:
grafana:
image: grafana/grafana
ports:
- '3000:3000'
environment:
- GF_PATHS_CONFIG="./grafana/etc/grafana.ini"
- GF_INSTALL_PLUGINS=grafana-piechart-panel,grafana-worldmap-panel,vertamedia-clickhouse-datasource,vertamedia-chtable
Inside grafana.ini I tried change default admin login and password like this:
[security]
admin_user = user
admin_password = 1234
But it is doesn’t work for me. How I can use my custom .ini
file with Grafana in Docker correctly?