configure docker network separately

This commit is contained in:
2026-08-06 00:25:12 +02:00
parent c18487ac23
commit c349880bf5
9 changed files with 22 additions and 24 deletions
+1 -6
View File
@@ -1,9 +1,4 @@
---
- name: Create a Docker network for loki
docker_network:
name: monitoring_network
state: present
- name: Pull loki Docker image
docker_image:
name: grafana/loki:latest
@@ -33,4 +28,4 @@
volumes:
- /etc/loki/config.yml:/etc/loki/config.yml
networks:
- name: monitoring_network
- name: monitoring