I’ve been through the installation docs here:
http://readme.drone.io/admin/installation-guide/
And modified to account for the Bitbucket setup here:
http://readme.drone.io/admin/installation-guide/
My docker-compose.yaml file is here:
version: ‘2’
services:
drone-server:
image: drone/drone:0.5
ports:
- 80:8000
volumes:
- ./drone:/var/lib/drone/
restart: always
environment:
- DRONE_OPEN=true
- DRONE_BITBUCKET=true
- DRONE_BITBUCKET_CLIENT=$(value_from_bitbucket_key)
- DRONE_BITBUCKET_SECRET=$(value_from_bitbucket_secret)
- DRONE_SECRET=$(secret)
drone-agent:
image: drone/drone:0.5
command: agent
restart: always
depends_on: [ drone-server ]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DRONE_SERVER=ws://serverurl/ws/broker
- DRONE_SECRET=$(secret)
My auth callback url in Butbucket is set to http://serverurl/authorize
Running docker ps shows that both the server and agent are running.
but still I get the invalid_redirect_uri error from Bitbucket when logging in.
Please help!