{"action":"created","issue":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/6246","labels_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6246/labels{/name}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6246/comments","events_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6246/events","html_url":"https://github.com/TryGhost/Ghost/issues/6246","id":123082806,"number":6246,"title":"Hardcoded environments prevent customization","user":{"login":"tunylund","id":297901,"avatar_url":"https://avatars.githubusercontent.com/u/297901?v=3","gravatar_id":"","url":"https://api.github.com/users/tunylund","html_url":"https://github.com/tunylund","followers_url":"https://api.github.com/users/tunylund/followers","following_url":"https://api.github.com/users/tunylund/following{/other_user}","gists_url":"https://api.github.com/users/tunylund/gists{/gist_id}","starred_url":"https://api.github.com/users/tunylund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tunylund/subscriptions","organizations_url":"https://api.github.com/users/tunylund/orgs","repos_url":"https://api.github.com/users/tunylund/repos","events_url":"https://api.github.com/users/tunylund/events{/privacy}","received_events_url":"https://api.github.com/users/tunylund/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-19T12:14:58Z","updated_at":"2015-12-21T19:03:58Z","closed_at":"2015-12-21T19:03:58Z","body":"Hi,\r\n\r\nAs a feature the https://github.com/TryGhost/Ghost/blob/master/config.example.js-file seems to support named environments as in:\r\n\r\n```\r\nproduction: {...},\r\nstaging: {...},\r\n'some-custom-env': {...}\r\n```\r\n\r\nUnfortunately the codebase seems to be riddled with hardcoded environment configurations: https://github.com/TryGhost/Ghost/blob/0.7.3/core/server/errors/index.js#L124\r\n(As a result no error logging will occur if the environment-name differs from the default 3 environments.)\r\n\r\nThis prevents users having any other named environment besides 'development', 'staging' or 'production'. Is there any plan on supporting named environments or is the design of ghost such that it allows only those 3 environments?\r\n"},"comment":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/comments/166391085","html_url":"https://github.com/TryGhost/Ghost/issues/6246#issuecomment-166391085","issue_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6246","id":166391085,"user":{"login":"ErisDS","id":101513,"avatar_url":"https://avatars.githubusercontent.com/u/101513?v=3","gravatar_id":"","url":"https://api.github.com/users/ErisDS","html_url":"https://github.com/ErisDS","followers_url":"https://api.github.com/users/ErisDS/followers","following_url":"https://api.github.com/users/ErisDS/following{/other_user}","gists_url":"https://api.github.com/users/ErisDS/gists{/gist_id}","starred_url":"https://api.github.com/users/ErisDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErisDS/subscriptions","organizations_url":"https://api.github.com/users/ErisDS/orgs","repos_url":"https://api.github.com/users/ErisDS/repos","events_url":"https://api.github.com/users/ErisDS/events{/privacy}","received_events_url":"https://api.github.com/users/ErisDS/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T19:03:57Z","updated_at":"2015-12-21T19:03:57Z","body":"No plan to change this as it's never been questioned before & I'm not sure what the use case would be. The concept of development and production modes are pretty standardised. Feel free to raise feature request on our [wishlist](http://ideas.ghost.org).\r\n"}}