This commit is contained in:
Vladislav Kunetskiy
2026-11-05 20:33:31 +03:00
parent edc2a405ee
commit b303db2d62
194 changed files with 10047 additions and 3831 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
set -eu
ROOT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
mkdir -p "$ROOT_DIR/secrets"
if [ ! -s "$ROOT_DIR/secrets/grafana.env" ]; then
(umask 077; printf 'GF_SECURITY_ADMIN_PASSWORD=%s\n' "$(openssl rand -hex 16)" > "$ROOT_DIR/secrets/grafana.env")
echo "created secrets/grafana.env"
fi