Skip to content

Commit 52d014d

Browse files
committed
add user and password
1 parent 6046e10 commit 52d014d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,24 @@ sudo docker plugin install grafana/loki-docker-driver:latest --alias loki --gran
5656
sudo systemctl restart docker
5757
```
5858

59+
## 2.1. Setting up service credentials
60+
61+
Setting up usernames and passwords for the Grafana web interface
62+
63+
1. Open the `log_and_metric/.env` file in a text editor.
64+
65+
2. Set the desired usernames and passwords. For example:
66+
67+
```env
68+
GF_ADMIN_USER=user
69+
GF_ADMIN_PASSWORD=your_password
70+
```
71+
72+
> **Note:**
73+
> If you do not set these variables, the default credentials will be used
74+
75+
3. Save the file.
76+
5977
## 3. Project Management
6078

6179
The project management script supports the following commands:

0 commit comments

Comments
 (0)