This commit is contained in:
2025-12-07 23:21:54 +01:00
parent d932db7b28
commit 838fe4ed2a
2 changed files with 13 additions and 6 deletions

View File

@@ -10,6 +10,12 @@ services:
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)
ports:
- target: 5000
published: 5000
@@ -24,6 +30,7 @@ services:
labels:
wud.watch: 'false'
wud.watch.digest: 'false'
service_name: 'registry'
replicas: 1
restart_policy:
condition: any