ddev / ddev-xhgui

XHGui service for a DDEV project
Apache License 2.0
12 stars 7 forks source link

Only one Mongo instance allowed at a time #20

Closed Firesphere closed 1 year ago

Firesphere commented 1 year ago

Due to the port exposing of the Mongo container, if I want to spin up another DDEV project with XHGUI, it will fail because the container can't bind to the port.

tyler36 commented 1 year ago

Does #16 resolve this for you?

Firesphere commented 1 year ago

Okay, this is me being dumb... How do I do ddev get and pull in that specific branch? 🤦

tyler36 commented 1 year ago

IIRC, you replace tree with tarball in the URL

- https://github.com/tyler36/ddev-xhgui/tree/13-Investigate-using-official-mongo-addon-for-database
+ https://github.com/tyler36/ddev-xhgui/tarball/13-Investigate-using-official-mongo-addon-for-database

Then:

ddev get ddev/ddev-mongo
ddev get https://github.com/tyler36/ddev-xhgui/tarball/13-Investigate-using-official-mongo-addon-for-database
rfay commented 1 year ago

However, the ports statement in the current version is just a mistake. It should be expose.

Firesphere commented 1 year ago

Right, it was tarball, not the zip link...

Back to my question, yes, using branch #13 solves the problem 🎉

tyler36 commented 1 year ago

Thanks for confirming!