Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add traefik.docker.network label to specify docker network exclusively #458

Merged

Conversation

tdgroot
Copy link
Contributor

@tdgroot tdgroot commented Dec 8, 2021

My Traefik log was get clogged up with the following warnings whenever a warden env stop/start/up/down was happening:

Could not find network named 'warden' for container '/magento2_varnish_1'! Maybe you're missing the project's prefix in the label? Defaulting to first available network." providerName=docker container=varnish-magento2-5e4efd55 serviceName=magento2-varnish
Could not find network named 'warden' for container '/magento2_php-fpm_1'! Maybe you're missing the project's prefix in the label? Defaulting to first available network." providerName=docker container=php-fpm-magento2-5e4efd55 serviceName=magento2-php-fpm
Could not find network named 'warden' for container '/magento2_elasticsearch-hq_1'! Maybe you're missing the project's prefix in the label? Defaulting to first available network." providerName=docker container=elasticsearch-hq-magento2-5e4efd55 serviceName=magento2-elasticsearch-hq
Could not find network named 'warden' for container '/magento2_elasticsearch_1'! Maybe you're missing the project's prefix in the label? Defaulting to first available network." providerName=docker container=elasticsearch-magento2-5e4efd55 serviceName=magento2-elasticsearch
Could not find network named 'warden' for container '/magento2_rabbitmq_1'! Maybe you're missing the project's prefix in the label? Defaulting to first available network." providerName=docker container=rabbitmq-magento2-5e4efd55 serviceName=magento2-rabbitmq

With this change, my Traefik log is less chaotic :).

docker network exclusively
@davidalger davidalger added the enhancement New feature or request label Feb 15, 2022
@davidalger davidalger merged commit 885f062 into wardenenv:develop Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants