# https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/prometheus_grafana_loki#Loki services: loki: image: grafana/loki:v3.2.0 container_name: loki restart: always volumes: - loki:/loki - ./loki-config.yml:/etc/loki-config.yml command: - '-config.file=/etc/loki-config.yml' ports: - "3100:3100" networks: - internal # labels: # org.label-schema.group: "monitoring" grafana: image: grafana/grafana:9.4.3 container_name: grafana restart: always env_file: .env volumes: - grafana:/var/lib/grafana expose: - "3101" networks: - internal # labels: # org.label-schema.group: "monitoring" ######## Networks ######## networks: postfix: external: true internal: ######## Volumes ######## volumes: loki: grafana: