|
|
@ -96,10 +96,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run Loki
|
|
|
|
- name: Run Loki
|
|
|
|
community.docker.docker_container:
|
|
|
|
community.docker.docker_container:
|
|
|
|
# recreate: true
|
|
|
|
|
|
|
|
# restart: true
|
|
|
|
|
|
|
|
name: loki
|
|
|
|
name: loki
|
|
|
|
image: grafana/loki:2.8.0
|
|
|
|
image: grafana/loki:2.8.0
|
|
|
|
|
|
|
|
restart: true
|
|
|
|
command: -config.file=/mnt/config/loki.yml
|
|
|
|
command: -config.file=/mnt/config/loki.yml
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- /mnt/lotus-land-story/loki/config:/mnt/config
|
|
|
|
- /mnt/lotus-land-story/loki/config:/mnt/config
|
|
|
@ -112,10 +111,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run Promtail
|
|
|
|
- name: Run Promtail
|
|
|
|
community.docker.docker_container:
|
|
|
|
community.docker.docker_container:
|
|
|
|
# recreate: true
|
|
|
|
|
|
|
|
# restart: true
|
|
|
|
|
|
|
|
name: promtail
|
|
|
|
name: promtail
|
|
|
|
image: grafana/promtail:2.8.0
|
|
|
|
image: grafana/promtail:2.8.0
|
|
|
|
|
|
|
|
restart: true
|
|
|
|
command: -config.file=/mnt/config/promtail.yml
|
|
|
|
command: -config.file=/mnt/config/promtail.yml
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- /var/log:/var/log
|
|
|
|
- /var/log:/var/log
|
|
|
|