title: Can't run drone CI with my local gitea server, getting error while authenitcating
body: <p>I want to play with drone CI on my local machine.</p>
  
  <p>I have installed gitea on my mac via brew. I can login with root login <a href="http://0.0.0.0:3000/" rel="nofollow noreferrer">http://0.0.0.0:3000/</a> and everything works</p>
  
  <p>Then I start the drone server like that:</p>
  
  <pre><code>version: '2'
  
  services:
    drone-server:
      image: drone/drone:0.8.1
      ports:
        - 8001:8000
      volumes:
        - /Users/aleksandr/ci/drone_gitea/data:/var/lib/drone/
      restart: always
      environment:
        - DRONE_OPEN=true
        - DRONE_HOST=0.0.0.0
        - DRONE_GITEA=true
        - DRONE_GITEA_URL=http://0.0.0.0:3000/
        - DRONE_SECRET=123123
  </code></pre>
  
  <p>After that, I want to authorize drone with gitea, so I go to 0.0.0.0:8001, enter login and password but the drone server returns an error:</p>
  
  <pre><code>drone-server_1  | time="2017-10-07T10:11:50Z" level=error msg="cannot authenticate user. Post http://0.0.0.0:3000/api/v1/users/root/tokens: dial tcp 0.0.0.0:3000: getsockopt: connection refused"
  </code></pre>