This commit is contained in:
2025-12-06 16:15:23 +01:00
parent 43b82acc66
commit 81b430e23d

View File

@@ -11,8 +11,13 @@ services:
driver: loki
options:
loki-url: http://192.168.77.101:3100/loki/api/v1/push
loki-external-labels: service_name=regsync
loki-external-labels: service_name=regsync11
loki-relabel-config: |
- action: labelmap
regex: swarm_stack
replacement: regsync11
- action: labelmap
regex: swarm_(service)
stdin_open: true
volumes:
- config:/home/appuser/
@@ -21,7 +26,7 @@ services:
labels:
wud.watch: 'true'
wud.watch.digest: 'true'
service_name: 'regsync'
replicas: 1
placement:
constraints: