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
fix-admin-user-readme
Yogesh Chauhan 2024-09-25 17:36:53 +05:30 committed by GitHub
parent 8f2744668c
commit 3c4c6ae923
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -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