-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
33 lines (29 loc) · 799 Bytes
/
compose.yml
File metadata and controls
33 lines (29 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: '3'
networks:
loki:
services:
loki:
image: grafana/loki:latest
ports:
- 3100:3100
# Anything higher then warn produces too mucxh to read unless you are specifically debugging
command: -config.file=/etc/loki/loki.yaml -log.level=warn
restart: unless-stopped
volumes:
- ./loki.yaml:/etc/loki/loki.yaml
- /mnt/Dockershare/Docker_Loki:/loki
networks:
- loki
alloy:
image: grafana/alloy:latest
ports:
- 12345:12345
# environment:
# CONFIG_FILE_PATH: /etc/alloy/config.alloy
volumes:
- ./config.alloy:/etc/alloy/config.alloy
- /mnt/Dockershare/Docker_Loki:/loki
command: run --server.http.listen-addr=0.0.0.0:12345 /etc/alloy/config.alloy
restart: unless-stopped
networks:
- loki