How to Self-Host Loki & Promtail with Docker Compose and Connect to Grafana

  Рет қаралды 4,076

Techdox

Techdox

Күн бұрын

Пікірлер
@mbnnm9796
@mbnnm9796 6 күн бұрын
Nice article, everything looks fine but within Grafana I can't see any labels. Any idea?
@Tekudachi
@Tekudachi 4 ай бұрын
Thank you so much! I was looking for that
@Techdox
@Techdox 4 ай бұрын
No problem! :)
@burloiumarian2665
@burloiumarian2665 4 ай бұрын
very cool ! nice job
@Techdox
@Techdox 4 ай бұрын
Thanks!
@HKTECH-001
@HKTECH-001 4 ай бұрын
Well done! Please also create a video demonstrating how to set up notifications on Grafana.
@Techdox
@Techdox 4 ай бұрын
Great suggestion!
@elfatihkhalid
@elfatihkhalid Ай бұрын
Well done, great video. I got into a problem with following error: "msg="error running loki" err="mkdir /tmp/loki: permission denied" from loki container. when I run the docker compose using my user account (id = 1000:1000) with (root, docker, adm) groups membership, and I solved that using the following Method-1 (preferred): - run the following: { mkdir data && chmod 777 -R data } (as I noticed the loki container creates the data folder under the following user id (1001) or Method-2: add the root user id 0 to the docker-compose.yaml file {user: "0" } to both loki and promtail containers.
@GundamExia88
@GundamExia88 4 ай бұрын
Great video. Is it possible to send logs from a public host/server to your Loki on your private network? Would you need to use a VPN or open up ports on your home router?
@Techdox
@Techdox 4 ай бұрын
Either VPN or open up the ports yeah, but I would not open ports. VPN or something like tailscale would be the best bet
@steala
@steala 4 ай бұрын
Love your videos, fellow Wellington person here! Any chance for a video showing how to pull in logs from several docker containers, from in the same loki host but also outside of the loki host?
@Techdox
@Techdox 4 ай бұрын
Thanks for the kind words, Happy to look into it :)
@ksoonsoon
@ksoonsoon 4 ай бұрын
Hope you are doing well
@asiraky
@asiraky Ай бұрын
you dont need to manually set the ip address in promtail config, just use the container name
Monitor Docker Containers Like a Pro with Grafana & Prometheus
11:10
Ehsan's Tech Cave
Рет қаралды 1,7 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Self-Host NTFY - How It Works & Easy Setup Guide
14:22
Techdox
Рет қаралды 6 М.
Monitoring, Logging, And Alerting In Kubernetes
22:07
DevOps Toolkit
Рет қаралды 31 М.
Traefik: Simplify Docker App Deployments
7:48
SoftsWeb
Рет қаралды 1,9 М.
Self-Host PhotoPrism with Docker Compose
14:34
Techdox
Рет қаралды 9 М.
Creating custom struct tags in Golang is awesome!
24:42
Flo Woelki
Рет қаралды 10 М.
Self-Hosting Next.js
45:13
leerob
Рет қаралды 79 М.
7 Years of Software Engineering Advice in 18 Minutes
18:32
Open source observability explained - the Grafana Labs stack
19:32
Prometheus & Grafana: Docker Compose Monitoring Tutorial
9:54
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.