Separate graphana credentials into auth.env

This commit is contained in:
ItsDrike 2021-07-07 01:04:05 +02:00
parent ec3f3217d3
commit 38aa4f2188
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD
3 changed files with 3 additions and 1 deletions

View file

@ -40,6 +40,7 @@ services:
- 3030:3000 - 3030:3000
env_file: env_file:
- ./grafana/config.monitoring - ./grafana/config.monitoring
- ./grafana/auth.env
networks: networks:
- back-tier - back-tier
- front-tier - front-tier

2
grafana/auth.env Normal file
View file

@ -0,0 +1,2 @@
GF_SECURITY_ADMIN_USER=admin
GF_SECURITY_ADMIN_PASSWORD=admin

View file

@ -1,3 +1,2 @@
GF_SECURITY_ADMIN_PASSWORD=admin
GF_USERS_ALLOW_SIGN_UP=false GF_USERS_ALLOW_SIGN_UP=false
GF_INSTALL_PLUGINS=flant-statusmap-panel,ae3e-plotly-panel GF_INSTALL_PLUGINS=flant-statusmap-panel,ae3e-plotly-panel