Make admin users configurable
continuous-integration/drone/push Build is passing Details

Closes https://git.autonomic.zone/coop-cloud/drone/issues/8.
This commit is contained in:
decentral1se 2021-04-07 14:05:30 +02:00
parent 5189b255c8
commit 2051f5ffcc
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
2 changed files with 4 additions and 1 deletions

View File

@ -6,6 +6,9 @@ LETS_ENCRYPT_ENV=production
RPC_SECRET_VERSION=v1
# https://docs.drone.io/server/reference/drone-user-create/
DRONE_USER_CREATE=username:admin,admin:true
## Required for any kind of Single Sign On
#CLIENT_SECRET_VERSION=v1

View File

@ -13,7 +13,7 @@ services:
- DRONE_SERVER_HOST=${DOMAIN}
- DRONE_SERVER_PORT=:${PORT:-8042}
- DRONE_SERVER_PROTO=https
- DRONE_USER_CREATE=username:admin,admin:true
- DRONE_USER_CREATE=${DRONE_USER_CREATE}
networks:
- proxy
secrets: