docker-compose.yaml hinzugefügt
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
loki:
|
||||||
|
image: grafana/loki:latest
|
||||||
|
container_name: loki
|
||||||
|
ports:
|
||||||
|
- "3100:3100"
|
||||||
|
volumes:
|
||||||
|
- ./loki-config.yaml:/etc/loki/local-config.yaml
|
||||||
|
- /mnt/docker/loki:/loki # Hier wird der Host-Pfad direkt gemountet
|
||||||
|
command: -config.file=/etc/loki/local-config.yaml
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
# Das 'volumes' Segment am Ende wurde entfernt, da wir nun keinen
|
||||||
|
# verwalteten Docker-Volume mehr nutzen, sondern einen direkten Pfad.
|
||||||
Reference in New Issue
Block a user