Skip to content

Commit b634ab0

Browse files
committed
Remove hardcoded credential from docker-compose.monitoring.yml
This file is in a public repository and contained a live lab credential. Change: replace the real Ergo wallet password with a required variable. Removing it here does not un-publish it; the value must be rotated. Signed-off-by: Scott <scottbphone12@gmail.com>
1 parent 8d0846d commit b634ab0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/monitoring/docker-compose.monitoring.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ services:
3131
ports:
3232
- "3000:3000"
3333
environment:
34-
- GF_SECURITY_ADMIN_PASSWORD=rustchain123
34+
- GF_SECURITY_ADMIN_PASSWORD=${ERGO_WALLET_PASSWORD:?set ERGO_WALLET_PASSWORD}
3535
- GF_USERS_ALLOW_SIGN_UP=false
3636
volumes:
3737
- grafana_data:/var/lib/grafana

0 commit comments

Comments
 (0)