title: Using environment variables in Ghost v1 config
body: <p>In Ghost 0.x, config was provided via a single config.js file with keys for each env.<br>
  In Ghost 1.0, config is provided via multiple config.json files</p>
  
  <p>How do you provide environment variables in Ghost 1.0?</p>
  
  <p>I would like to dynamically set the port value using process.env.port on <a href="http://c9.io" rel="nofollow noreferrer">Cloud9 IDE</a> like so.</p>
  
  <p><strong>config.development.json</strong></p>
  
  <pre><code>{
    "url": "http://localhost",
    "server": {
      "port": process.env.port,
      "host": process.env.IP
    }
  }
  </code></pre>
  
  <p>When I run the application using <code>ghost start</code> with the following config, it says <strong>You can access your publication at <a href="http://localhost:2368" rel="nofollow noreferrer">http://localhost:2368</a></strong>, but when I go to <a href="http://localhost:2368" rel="nofollow noreferrer">http://localhost:2368</a> in <a href="http://c9.io" rel="nofollow noreferrer">http://c9.io</a> it gives me an error saying <strong>No application seems to be running here!</strong></p>
  
  <pre><code>{
    "url": "http://localhost:2368",
    "server": {
      "port": 2368,
      "host": "127.0.0.1"
    }
  }
  </code></pre>