14 lines
540 B
YAML
14 lines
540 B
YAML
---
|
|
|
|
# https://docs.drone.io/server/user/registration/
|
|
|
|
services:
|
|
drone-server:
|
|
environment:
|
|
# https://docs.drone.io/server/reference/drone-user-create/
|
|
DRONE_USER_CREATE: username:${DRONE_ADMIN_USER:?err},machine:false,admin:true,token:${DRONE_ADMIN_TOKEN:?err}
|
|
# https://docs.drone.io/server/reference/drone-user-filter/
|
|
DRONE_USER_FILTER: ${DRONE_USER_FILTER:?err}
|
|
# https://docs.drone.io/server/reference/drone-registration-closed/
|
|
DRONE_REGISTRATION_CLOSED: ${DRONE_REGISTRATION_CLOSED:-true}
|