I’m able to login with GitHub Oauth just fine, I have the following server/agent config below(I’m using the Kontena.io platform):
level=fatal msg=“version control system not configured”
I don’t expect anyone to be familiar with Kontena’s stack yml definition, but perhaps someone can glance through the following and let me know if I’m missing any required info to get the server/agent up and running with github
services:
server:
image: drone/drone:latest
instances: 1
stateful: true
deploy:
strategy: ha
wait_for_port: 80
links:
- ${LB_NAME}
environment:
- DRONE_GITHUB=true
- DRONE_SERVER_ADDR=0.0.0.0:80
- DRONE_OPEN=true
- DATABASE_DRIVER=sqlite3
- DATABASE_CONFIG=/var/lib/drone/drone.sqlite
- KONTENA_LB_VIRTUAL_HOST=${LB_VIRTUAL_HOST}
secrets:
- secret: DRONE_GITHUB_CLIENT_ID
name: DRONE_GITHUB_CLIENT
type: env
- secret: DRONE_GITHUB_CLIENT_SECRET
name: DRONE_GITHUB_SECRET
type: env
- secret: DRONE_SHARED_SECRET
name: DRONE_AGENT_SECRET
type: env
- secret: DRONE_ADMIN_USERNAMES
name: DRONE_ADMIN
type: env
volumes:
- /var/lib/drone
agent:
image: drone/drone:latest
stateful: no
instances: ${AGENT_INSTANCES}
depends_on:
- server
environment:
- DRONE_SERVER=http://reaction.boomerdigital.net:80
secrets:
- secret: DRONE_SHARED_SECRET
name: DRONE_SECRET
type: env
- secret: DRONE_HOST
name: DRONE_HOST
type: env
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: agent