Request next execution error when starting drone

When trying to start my drone server using docker-compose up I get a request next execution error. This is my docker-compose.yaml file

`version: '2'

services:
  drone-server:
    image: drone/drone:0.8

    ports:
      - 8000
      - 9000
    volumes:
      - /var/lib/drone:/var/lib/drone/
    restart: always
    environment:
      - DRONE_OPEN=true
      - DRONE_HOST=https://my.drone.host
      - DRONE_GITEA=true
      - DRONE_GITEA_URL=https://my.gitea.url
      - DRONE_SECRET=my_secret

  drone-agent:
    image: drone/agent:0.8

    command: agent
    restart: always
    depends_on:
      - drone-server
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - DRONE_SERVER=drone-server:9000
      - DRONE_SECRET=my_secret`

Turns out the above error was just me being stupid, although I’m now getting this error when I try to create a build

fatal: could not read Username for 'https://my.gitea.url': No such device or address
exit status 128

My gitea repo is public but sign in is required, this is my .drone.yml file

pipeline:
  build:
    image : ubuntu
    commands:
      - git ftp init --user ftp_user --passwd ftp_password ftp://ftp_address/var/www/test

I recommend searching for existing threads where we have helped people triage could not read Username for errors:
http://discuss.harness.io/search?q=could%20not%20read%20Username%20for

Thanks for your reply, I’ve had a look through all the previous threads and I think my issue is that I turned on the private mode after I started drone, how could I change it?