diff --git a/__swarm/regsync/regsync-swarm.yml b/__swarm/regsync/regsync-swarm.yml index 181ac32..9bb1921 100644 --- a/__swarm/regsync/regsync-swarm.yml +++ b/__swarm/regsync/regsync-swarm.yml @@ -11,10 +11,7 @@ services: driver: loki options: loki-url: http://192.168.77.101:3100/loki/api/v1/push - loki-relabel-config: | - - action: labelmap - regex: regsync_.* - replacement: regsync + loki-external-labels: service_name=regsync stdin_open: true volumes: @@ -24,7 +21,7 @@ services: labels: wud.watch: 'true' wud.watch.digest: 'true' - service_name: 'regsync' + replicas: 1 placement: constraints: