53 lines
1.2 KiB
Markdown
53 lines
1.2 KiB
Markdown
# Grafana-Loki-Minio
|
|
|
|
## Description
|
|
This dokcer run stack grafana, loki, promtail, minio
|
|
### Container
|
|
| Name | URL | Description |
|
|
|:---|:---|:---|
|
|
| dns-tools | - | container with dns tools (just use for debug)|
|
|
| minio-server | UI: `http://<fqdn_server>;9001`<br>API: `http://<fqdn_server>;9000`| container minio server UI and API |
|
|
## Requirements
|
|
### Minio
|
|
Create the folder where the minio data will be stored
|
|
```bash
|
|
sudo mkdir -p /home/docker/minio
|
|
```
|
|
|
|
Copy the `.env-dist` file to `.env` and update it with values appropriate for your setup.
|
|
```bash
|
|
MINIO_DATA_ROOT_DIR=/home/docker/minio
|
|
MINIO_ACCESS_KEY=minio
|
|
MINIO_SECRET_KEY=minio123
|
|
```
|
|
|
|
## Run
|
|
```bash
|
|
docker compose up -d
|
|
```
|
|
|
|
## Access
|
|
|
|
**dns-tools**
|
|
```bash
|
|
docker exec -it dns-tools /bin/bash
|
|
```
|
|
```bash
|
|
dig minio-server
|
|
ping minio-server
|
|
nslookup minio-server
|
|
```
|
|
|
|
**Minio console**
|
|
http://<server_fqdn>:9001
|
|
|
|
|
|
## Sources
|
|
### Minio
|
|
* https://thanhtunguet.info/posts/install-minio-using-docker-compose/
|
|
* https://min.io/docs/minio/container/index.html
|
|
* https://www.nathaniel-walser.com/docker-compose-templates/minio
|
|
* https://github.com/Anagraph/minio-docker-config/blob/master/docker-compose.yaml
|
|
|
|
### Grafana
|
|
* https://grafana.com/docs/loki/latest/setup/install/docker/ |