grafana: set the admin password

single-dockerfile
Trammell Hudson 3 years ago
parent 8cc7d6e3c9
commit 0ba4835d97
  1. 2
      grafana/setup

@ -15,7 +15,7 @@ if [ ! -r "env.secrets" ]; then
echo "Generating secrets: admin password $GRAFANA_ADMIN_PASSWORD" echo "Generating secrets: admin password $GRAFANA_ADMIN_PASSWORD"
cat <<EOF > env.secrets cat <<EOF > env.secrets
# Do not check in! # Do not check in!
GRAFANA_ADMIN_PASSWORD=$GRAFANA_ADMIN_PASSWORD GF_SECURITY_ADMIN_PASSWORD=$GRAFANA_ADMIN_PASSWORD
GF_SERVER_ROOT_URL=https://$GRAFANA_HOSTNAME/ GF_SERVER_ROOT_URL=https://$GRAFANA_HOSTNAME/
GF_SERVER_DOMAIN=$GRAFANA_HOSTNAME GF_SERVER_DOMAIN=$GRAFANA_HOSTNAME
GF_AUTH_GENERIC_OAUTH_AUTH_URL=$BASE/auth GF_AUTH_GENERIC_OAUTH_AUTH_URL=$BASE/auth

Loading…
Cancel
Save