What is the default admin password for DRONE_ADMIN users?

5k views Asked by At

On first installation using a docker-compose file and following the installation instructions what is the default password for Closed Registration DRONE_ADMIN users?

The web frontend won't let you access it without a logon and it's not possible to create new users using the CLI without a login either.

1

There are 1 answers

3
Brad Rydzewski On BEST ANSWER

The administrative user needs to login with the Gogs username and password

Drone will prompt you for a username and password to authenticate. You should use your Gogs username and password. This is unfortunately required due to Gogs lack of oauth2 support.

Let's use this example configuration for reference:

DRONE_ADMIN=johnsmith

You need to make sure that johnsmith is a valid Gogs username. When you are prompted to login you should enter johnsmith for the username, and use johnsmith's Gogs password.