This commit is contained in:
2025-12-14 01:19:08 +01:00
parent 9594626646
commit 91d00911e5

View File

@@ -33,6 +33,16 @@ services:
TZ: Europe/Bratislava TZ: Europe/Bratislava
hostname: m-server hostname: m-server
image: pihole/pihole:latest image: pihole/pihole:latest
logging:
driver: loki
options:
loki-url: http://192.168.77.101:3100/loki/api/v1/push
loki-relabel-config: |
- action: labelmap
regex: swarm_stack
replacement: namespace
- action: labelmap
regex: swarm_(service)
labels: labels:
com.centurylinklabs.watchtower.enable: 'true' com.centurylinklabs.watchtower.enable: 'true'
homepage.container: pihole homepage.container: pihole