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

Cannot have multiple ddev projects running with this add-on #19

Open
soapboxcommunication opened this issue Jan 24, 2024 · 3 comments
Open

Comments

@soapboxcommunication
Copy link

Thanks for the add-on! If I tried to ddev start 2+ projects with this running, I get the following error re port usage:

Error response from daemon: driver failed programming external connectivity on endpoint ddev-projectnam-sqlsrv (hash-here): Bind for 0.0.0.0:1433 failed: port is already allocated

Minor issue as I can of course stop other ddev projects but thought I would raise.

@stasadev
Copy link
Member

HI @soapboxcommunication,

You can set a different port MSSQL_EXTERNAL_PORT in .ddev/.env for another project.

@robertoperuzzo
Copy link
Collaborator

Hi @soapboxcommunication, have you fixed using a different MSSQL_EXTERNAL_PORT for each project?

@rfay
Copy link
Member

rfay commented Feb 19, 2024

Why does it need an "external port" here:

ports:
- "${MSSQL_EXTERNAL_PORT}:1433"

Can it not use expose instead of ports ?

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

No branches or pull requests

4 participants