Ember does not have an environment concept, but you can delegate this responsibility to your server environment (express, rails, whatever you use), you can set the JS variable, cookie value, localStorage, whatever you wish.
Edit: Also, since you are probably testing the local environment, you can check the domain in a URL like localhost, 0.0.0.0, etc.,
for this you can use window.location.host
source share