wowu / docker-rollout

🚀 Zero Downtime Deployment for Docker Compose
https://github.com/Wowu/docker-rollout
MIT License
2.37k stars 66 forks source link

Add optional argument to filter by project name #4

Closed usr3 closed 1 year ago

usr3 commented 1 year ago

This commit adds an optional input argument to filter by docker compose's project name. This avoids name conflicts with services having the same name elsewhere.

wowu commented 1 year ago

Thanks for pointing out the issue and suggesting a fix! I decided to solve it in a different way in #8, so we can avoid having to provide project name manually. It also should work correctly with COMPOSE_PROJECT_NAME environment variable.

Can you check if it solves your case?

usr3 commented 1 year ago

Thanks for pointing out the issue and suggesting a fix! I decided to solve it in a different way in #8, so we can avoid having to provide project name manually. It also should work correctly with COMPOSE_PROJECT_NAME environment variable.

Can you check if it solves your case?

Nice way to solve this, thanks! Just checked on my end, works perfectly.

wowu commented 1 year ago

Great, thanks 😃