Add scripts/minio/README.md
Build Docker Image for Actions / Check-If-Rebuild (push) Successful in 8s Details
Code Quality Test / Quality-Check (push) Successful in 5s Details
Build Docker Image for Actions / Build-Image (push) Has been skipped Details
Environment Setup Test / Setup (push) Failing after 1m39s Details

main
drunkendog 2023-12-20 17:57:20 +00:00
parent 754c088621
commit 11c0153444
1 changed files with 21 additions and 0 deletions

21
scripts/minio/README.md Normal file
View File

@ -0,0 +1,21 @@
# Minio
## Configuring Prometheus
Create a user `prometheus` with policy
```s3
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"admin:Prometheus"
]
}
]
}
```
then run `mc alias set metrics http://172.30.26.1:9000 prometheus {password} && mc admin prometheus generate metrics` and add the output into /opt/prometheus/prometheus.yml