mirror of
https://github.com/harness/drone.git
synced 2025-05-02 19:49:34 +08:00
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 setup
This commit is contained in:
parent
8f2744668c
commit
3c4c6ae923
@ -16,6 +16,8 @@ docker run -d \
|
|||||||
-p 22:22 \
|
-p 22:22 \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
-v /tmp/harness:/data \
|
-v /tmp/harness:/data \
|
||||||
|
-e GITNESS_PRINCIPAL_ADMIN_EMAIL="admin@gitness.io" \
|
||||||
|
-e GITNESS_PRINCIPAL_ADMIN_PASSWORD="changeit" \
|
||||||
--name harness \
|
--name harness \
|
||||||
--restart always \
|
--restart always \
|
||||||
harness/harness
|
harness/harness
|
||||||
@ -149,4 +151,4 @@ Refer to [CONTRIBUTING.md](https://github.com/harness/harness/blob/main/CONTRIBU
|
|||||||
|
|
||||||
## License
|
## 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
Block a user