initialize admin user
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-05-11 14:41:00 +02:00
parent 25ba73e6dd
commit d51a2b3ced
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ droneci_server_http_port: 8080
droneci_server_proxy_port: "{{ droneci_server_http_port }}" droneci_server_proxy_port: "{{ droneci_server_http_port }}"
droneci_server_proxy_protocol: http droneci_server_proxy_protocol: http
# droneci_admins: # defaults to not set # droneci_admin: # defaults to not set
# droneci_http_proxy: # defaults to not set # droneci_http_proxy: # defaults to not set
# droneci_https_proxy: # defaults to not set # droneci_https_proxy: # defaults to not set
# droneci_no_proxy: (see below) # droneci_no_proxy: (see below)

View File

@ -28,7 +28,7 @@ services:
- DRONE_SERVER_PROTO={{ droneci_host | urlsplit('scheme') }} - DRONE_SERVER_PROTO={{ droneci_host | urlsplit('scheme') }}
- DRONE_AGENTS_ENABLED=true - DRONE_AGENTS_ENABLED=true
- DRONE_RPC_SECRET={{ droneci_secret }} - DRONE_RPC_SECRET={{ droneci_secret }}
- DRONE_USER_CREATE={{ droneci_admins | default(omit) | join(",") }} - DRONE_USER_CREATE=username:{{ droneci_admin }},admin:true
- DRONE_LOGS_COLOR=true - DRONE_LOGS_COLOR=true
- DRONE_LOGS_PRETTY=true - DRONE_LOGS_PRETTY=true
- DRONE_TLS_AUTOCERT=false - DRONE_TLS_AUTOCERT=false