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 #242

Open
CodeWithEmad opened this issue Nov 26, 2024 · 2 comments · May be fixed by #241
Open

Mounting all MFEs leads to error #242

CodeWithEmad opened this issue Nov 26, 2024 · 2 comments · May be fixed by #241
Assignees
Labels
bug Something isn't working

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.

@hinakhadim hinakhadim linked a pull request Dec 14, 2024 that will close this issue
2 tasks
@regisb regisb transferred this issue from overhangio/tutor Dec 16, 2024
@regisb regisb moved this from Backlog to In Progress in Tutor project management Dec 16, 2024
@regisb regisb added the bug Something isn't working label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

3 participants