# Grafana-Loki-Minio ## Description This dokcer run stack grafana, loki, promtail, minio ### Container | Name | URL | Description | |:---|:---|:---| | -dns-tools-1 | - | container with dns tools (just use for debug)| | -proxy-1 | `https://` | nginx proxy | -minio-1 | UI: `https:///minio/ui`
API: `http://127.0.0.1:9000`| container minio server UI and API | | -grafana-1 | `https:///grafana` | grafana | ## Requirements ### Certificats Create a folder named `/home/docker/certs` and copy your certificates into it. ```bash sudo mkdir -p /home/docker/certs ``` ### Variables All variables are described in the `.env.dist` file Copy the `.env.dist` file to `.env` and update it with values appropriate for your setup. ### Proxy (nginx) Create the folder where the ngnix config will be stored and copy the `config/nginx.conf` into it ```bash sudo mkdir -p /home/docker/nginx sudo cp ./config/default.conf /home/docker/nginx/. ``` ### Minio Create the folder where the minio data will be stored ```bash sudo mkdir -p /home/docker/minio ``` ### Grafana Create the folder where the grafana data will be stored ```bash sudo mkdir -p /home/docker/grafana ``` ## 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** `https:///minio/ui/` **Grafana** `https:///grafana/` ## Sources ### Minio * https://github.com/Anagraph/minio-docker-config/blob/master/docker-compose.yaml * https://min.io/docs/minio/linux/integrations/setup-nginx-proxy-with-minio.html ### Grafana * https://grafana.com/docs/loki/latest/setup/install/docker/ * https://grafana.com/tutorials/run-grafana-behind-a-proxy/ ## Changelog ### [1.0.0] - 2025-06-08 #### Added - init docker container - proxy with nginx - minio container - grafana container #### Project initialization - initialization by [GMo](mailto:gilles.mouchet@gmail.com)