Fatal error for latest agent

Hi. I use compose for creating Gogs+Drone environment. My compose looks like this^

version: '2' 
services: 
gogs:
 image: gogs/gogs
 ports:
   - "3000:3000"
 mem_limit: 120m
 volumes:
   - /var/lib/gogs:/data
 restart: always
 environment:
   - DISABLE_SSH=true
drone-server:
 image: drone/drone
 ports:
    - "8000:8000"
 volumes:
   - /var/lib/drone:/var/lib/drone/
 restart: always
 depends_on: [ gogs ]
 mem_limit: 160m
 environment:
   - DRONE_GOGS=true
   - DRONE_SECRET=1234
   - DRONE_OPEN=true
   - DRONE_HOST=http://ci.sd.org
   - DRONE_ADMIN=yanchick
   - DRONE_GOGS_PRIVATE_MODE=true
   - DRONE_GOGS_GIT_USERNAME=yan
   - DRONE_GOGS_GIT_PASSWORD=password
   - DRONE_GOGS_SKIP_VERIFY=true
   - DRONE_GOGS_URL=http://git.sd.org
drone-agent:
 image: drone/drone
 command: agent
 mem_limit: 160m
 restart: always
 depends_on: [ drone-server ]
 volumes:
   - /var/run/docker.sock:/var/run/docker.sock
 environment:
   - DRONE_SECRET=1234
   - DRONE_HOST=http://ci.sd.org

When i start this compose i get error

drone-agent_1 | time=“2017-10-01T11:24:27Z” level=fatal msg=“version control system not configured”

What wrong in my compose? When i logging in drone i can’t see build output.

See this thread: Level=fatal msg="version control system not configured"