containrrr/shepherd

define more than one service - FILTER_SERVICES how?

1mfaasj opened this issue · 2 comments

Hi

how do I put multiple services in this environment variable? FILTER_SERVICES

what I tried (that does NOT work):
- "FILTER_SERVICES=name=dockerimage"
- "FILTER_SERVICES=name=anotherimage"

this also doesn't work:
- "FILTER_SERVICES=name=dockerimage, name-anotherimage"

this also doesn't work:
- "FILTER_SERVICES=name=dockerimage, anotherimage"

so please advice
thank you

You can't filter on multiple services by name (only if a partial match works for you).

Instead, you need to set a label on each service and then let shepherd filter on that label.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.