diff --git a/__swarm/regsync/regsync-swarm.yml b/__swarm/regsync/regsync-swarm.yml index 0c57919..f57be35 100644 --- a/__swarm/regsync/regsync-swarm.yml +++ b/__swarm/regsync/regsync-swarm.yml @@ -11,13 +11,8 @@ 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: regsync - - action: labelmap - regex: regsync - regex: swarm_(service) + loki-external-labels: service_name=regsync + stdin_open: true volumes: - config:/home/appuser/