loki: add

This commit is contained in:
Schneider Roland
2024-10-27 16:10:18 +01:00
parent 1c7ecec6ab
commit 3fb35d3256
2 changed files with 2 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ services:
- ./loki-config.yaml:/mnt/config/loki-config.yaml # Mounts the Loki configuration file.
- ./data:/tmp
ports:
- "3100:3100" # Maps port 3100 on the host to port 3100 in the container.
- "4118:3100" # Maps port 3100 on the host to port 3100 in the container.
command: -config.file=/mnt/config/loki-config.yaml # Runs Loki with the specified configuration file.
promtail: