grafana stays a declared exception until a bed exercises its admin password
This commit is contained in:
@@ -39,6 +39,13 @@
|
|||||||
"mode": "0700",
|
"mode": "0700",
|
||||||
"owner": "472:472"
|
"owner": "472:472"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "server-env",
|
||||||
|
"type": "file",
|
||||||
|
"path": "/var/lib/grafana-module/server.env",
|
||||||
|
"mode": "0600",
|
||||||
|
"content": "GF_SECURITY_ADMIN_PASSWORD=${secret:admin}\n"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "server",
|
"id": "server",
|
||||||
"type": "container",
|
"type": "container",
|
||||||
@@ -48,12 +55,12 @@
|
|||||||
"3000"
|
"3000"
|
||||||
],
|
],
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"/services/grafana/data:/var/lib/grafana",
|
"/services/grafana/data:/var/lib/grafana"
|
||||||
"/var/lib/grafana-module/admin.secret:/run/secrets/admin:ro"
|
|
||||||
],
|
],
|
||||||
"env": {
|
"env-file": [
|
||||||
"GF_SECURITY_ADMIN_PASSWORD__FILE": "/run/secrets/admin"
|
"/var/lib/grafana-module/server.env"
|
||||||
}
|
],
|
||||||
|
"secrets-in-environment": "grafana honours GF_SECURITY_ADMIN_PASSWORD__FILE; convertible, awaiting a bed that exercises the admin password (assigned-grafana serves tools only)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "runtime-config",
|
"id": "runtime-config",
|
||||||
@@ -115,6 +122,5 @@
|
|||||||
"from": "Dockerfile"
|
"from": "Dockerfile"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
"secrets-owner": "472:472"
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user