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

Mounting all MFEs leads to error #1167

Open
CodeWithEmad opened this issue Nov 26, 2024 · 2 comments
Open

Mounting all MFEs leads to error #1167

CodeWithEmad opened this issue Nov 26, 2024 · 2 comments

Comments

@CodeWithEmad
Copy link
Member

After mounting all MFEs, there will be no ports left in the mfe service
Screenshot from 2024-11-26 11-13-12

and dev fails to start:

tutor dev start    
docker compose -f /home/emad/redwood.3/tutor/env/local/docker-compose.yml -f /home/emad/redwood.3/tutor/env/local/docker-compose.prod.yml --project-name tutor_local stop
docker compose -f /home/emad/redwood.3/tutor/env/local/docker-compose.yml -f /home/emad/redwood.3/tutor/env/dev/docker-compose.yml --project-name tutor_dev up --remove-orphans
services.mfe.ports must be a list
Error: Command failed with status 15: docker compose -f /home/emad/redwood.3/tutor/env/local/docker-compose.yml -f /home/emad/redwood.3/tutor/env/dev/docker-compose.yml --project-name tutor_dev up --remove-orphans
@regisb
Copy link
Contributor

regisb commented Nov 26, 2024

Ha! That's unexpected. Do you want to propose a fix? In my opinion the only proper solution is to create a dedicated iter_mfe_exposes_ports(MOUNTS) template filter.

@CodeWithEmad
Copy link
Member Author

I don’t have an answer readily available right now. Feel free to proceed if you have a suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants