craftcms / nitro

Speedy local dev environment for @craftcms.
https://getnitro.sh
MIT License
178 stars 24 forks source link

Overrides for `NITRO_NODE_PORT` and `NITRO_ALT_NODE_PORT` are ignored #428

Closed joshuabaker closed 2 years ago

joshuabaker commented 2 years ago

Description

I’ve added NITRO_NODE_PORT and NITRO_ALT_NODE_PORT to my ZSH profile, however these are getting ignored by Nitro for some reason, which just defaults to 3000 and 3001.

Screenshot 2021-11-11 at 15 48 53@2x

These are output when calling env. I’ve also tried nitro init assuming this pulls in those config items.

Additional info

joshuabaker commented 2 years ago

A complete reinstall sorted this, so I’m guessing something wasn’t getting through to Docker somehow.

Closing as I think this was isolated to my env.