Hi,
Am running my own docker server xxxx.xxx.io.
Below is a snippet of the docker-compose and the environment file am using:
docker-compose:
version: '3’
services:
drone-server:
image: drone/drone:0.7
ports:
- 0.0.0.0:8080:8000
volumes:
- /var/lib/drone:/var/lib/drone
restart: always
env_file:
- /etc/drone/server.env
environment file:
Service settings
DRONE_SECRET=
DRONE_HOST=
Registration settings
DRONE_OPEN=false
DRONE_ADMIN=
GitLab Settings
DRONE_GITLAB=true
DRONE_GITLAB_URL=https://xxxxxx
DRONE_GITLAB_CLIENT=XXXXXXX
DRONE_GITLAB_SECRET=XXXXXXXXX
DRONE_GITLAB_SKIP_VERIFY=false
DRONE_GITLAB_PRIVATE_MODE=false
DRONE_SECRET=XXXXXXX
#GitLab Driver
REMOTE_DRIVER=gitlab
REMOTE_CONFIG=https://xxxxxxxxx?client_id=${client_id}&client_secret=${client_secret}
In GitLab, under “Applications”, I have set-up a new Application with the required CallBack URL and setting Scopes to read_registry.
When I open the drone URL to login, a redirection happens to my GitLab instance and I can successfully input my credentials. After inputting the credentials and press logon, I get the below error:
An error has occured
The requested scope is invalid, unknown or malformed.
Any help is much appreciated
Thanks