From 0e6ecf1f16255dde76c3b561ac2976270eddf557 Mon Sep 17 00:00:00 2001 From: "nini.b-612" Date: Tue, 4 Nov 2025 19:01:58 +0000 Subject: [PATCH] Update WordPress-Docker/docker-compose.yml Added potential Grafana Loki installation code (commented it out for now just to be safe). Some changes can be made to the current commented out code, as recommended by ChatGPT. --- WordPress-Docker/docker-compose.yml | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/WordPress-Docker/docker-compose.yml b/WordPress-Docker/docker-compose.yml index f54b632..1722148 100644 --- a/WordPress-Docker/docker-compose.yml +++ b/WordPress-Docker/docker-compose.yml @@ -1,6 +1,41 @@ version: '3.8' services: + # loki: + # image: grafana/loki:3.0.0 + # container_name: loki + # ports: + # - "3100:3100" + # command: -config.file=/etc/loki/local-config.yaml + # restart: unless-stopped + + # grafana: + # image: grafana/grafana:10.4.0 + # container_name: grafana + # ports: + # - "3000:3000" + # environment: + # - GF_SECURITY_ADMIN_USER=admin + # - GF_SECURITY_ADMIN_PASSWORD=ocfsecure + # depends_on: + # - loki + # restart: unless-stopped + + # alloy: + # image: grafana/alloy:latest + # container_name: alloy + # volumes: + # - ./alloy-config.yml:/etc/alloy/config.alloy + # - ./logs:/var/log/scanner + # ports: + # - "12345:12345" # optional web UI/debug + # command: run /etc/alloy/config.alloy + # environment: + # - ALLOY_ENABLE_WEB=true + # depends_on: + # - loki + # restart: unless-stopped + apache: build: context: ./apache -- 2.39.5