Agent failed after upgrade to 0.8

I’m trying to upgrade 0.7 to 0.8. Can’t see any official (final) migration guide, the only thing I have found - http://docs.drone.io/release-0.8.0 (Upgrade Instructions for rc).

Followed this instruction, added DRONE_HOST to both server and agent, changed DRONE_SERVER on agent. Getting “version control system not configured” and agent dying.

this is my compose:

version: '2'

services:
    drone-server:
        image: drone/drone:0.8
        ports:
            - 9080:8000
            - 9000:9000
        volumes:
            - ./var:/var/lib/drone/
        restart: always
        environment:
            - DRONE_OPEN=false
            - DRONE_HOST=http://drone.blah.com:9080
            - DRONE_GITHUB=true
            - DRONE_GITHUB_CLIENT=xxxx
            - DRONE_GITHUB_SECRET=xxxxx
            - DRONE_ADMIN=xxxxxx
            - DRONE_SECRET=xxxxxx

    drone-agent:
        image: drone/drone:0.8
        command: agent
        restart: always
        depends_on:
            - drone-server
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock
        environment:
            - DRONE_HOST=http://drone.blah.com:9080
            - DRONE_SERVER=drone-server:9000
            - DRONE_SECRET=xxxxxxx
            - DRONE_MAX_PROCS=3

figured myself - should be image: drone/agent:0.8 for drone-agent servcie