mirror of https://github.com/harness/drone.git
Update README.md - Add Admin environment variables
Add - GITNESS_PRINCIPAL_ADMIN_EMAIL - GITNESS_PRINCIPAL_ADMIN_PASSWORD to the docker run command. Without this, the admin user is not setupfix-admin-user-readme
parent
8f2744668c
commit
3c4c6ae923
|
@ -16,6 +16,8 @@ docker run -d \
|
|||
-p 22:22 \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
-v /tmp/harness:/data \
|
||||
-e GITNESS_PRINCIPAL_ADMIN_EMAIL="admin@gitness.io" \
|
||||
-e GITNESS_PRINCIPAL_ADMIN_PASSWORD="changeit" \
|
||||
--name harness \
|
||||
--restart always \
|
||||
harness/harness
|
||||
|
@ -149,4 +151,4 @@ Refer to [CONTRIBUTING.md](https://github.com/harness/harness/blob/main/CONTRIBU
|
|||
|
||||
## License
|
||||
|
||||
Apache License 2.0, see [LICENSE](https://github.com/harness/harness/blob/main/LICENSE).
|
||||
Apache License 2.0, see [LICENSE](https://github.com/harness/harness/blob/main/LICENSE).
|
||||
|
|
Loading…
Reference in New Issue