August 31, 2018, 9:43pm
I’m testing out the 0.9 version of drone along with the autoscaler on GCE and I’ve hit an issue where it doesn’t seem like DRONE_ADMIN is being read. Here’s how I start the server container.
docker run \
When I login I only get the options that a regular no admin user would get. No ability to add docker registry credentials etc.
DRONE_ADMIN is not a valid variable in 0.9
There have been a number of configuration changes (at
https://readme.drone.io/reference/). All configuration parameters are documented, but this being an alpha, I haven’t created an upgrade guide yet.
August 31, 2018, 9:53pm
Thanks! I looked there and in GitHub at the code, but didn’t see any obvious new equivalent. I’m guessing what I’m looking for is:
Yes, DRONE_USER_CREATE is exactly what you want. It will boostrap the system with a new user account. You can use this to create the first admin user (or an admin machine account) which can be used to then spawn new users.
Whether or not a user is an administrator is now stored in the database. I will eventually be adding screens to the user-interface to manage users, prior to the 0.9-rc.1 release which is still a couple of weeks away.
March 26, 2019, 9:47am
How is this possible? We just add a:
line to docker run command?
What exactly is token? https://readme.drone.io/reference/server/drone-user-create/ is not very clear on that.