Make admin users configurable
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Closes https://git.autonomic.zone/coop-cloud/drone/issues/8.
This commit is contained in:
parent
5189b255c8
commit
2051f5ffcc
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue