2.1 KiB
2.1 KiB
Grafana-Loki-Minio
Description
This dokcer run stack grafana, loki, promtail, minio
Container
| Name | URL | Description |
|---|---|---|
| <COMPOSE_PROJECT_NAME>-dns-tools-1 | - | container with dns tools (just use for debug) |
| <COMPOSE_PROJECT_NAME>-proxy-1 | https://<server_fqdn> |
nginx proxy |
| <COMPOSE_PROJECT_NAME>-minio-1 | UI: https://<server_fqdn>/minio/uiAPI: http://127.0.0.1:9000 |
container minio server UI and API |
| <COMPOSE_PROJECT_NAME>-grafana-1 | https://<server_fqdn>/grafana |
grafana |
Requirements
Certificats
Create a folder named /home/docker/certs and copy your certificates into it.
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
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
sudo mkdir -p /home/docker/minio
Grafana
Create the folder where the grafana data will be stored
sudo mkdir -p /home/docker/grafana
Run
docker compose up -d
Access
dns-tools
docker exec -it dns-tools /bin/bash
dig minio-server
ping minio-server
nslookup minio-server
Minio console
https://<server_fqdn>/minio/ui/
Grafana
https://<server_fqdn>/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