Closed indaco closed 6 months ago
with docker image harness/gitness:latest after the remove default Admin account /environment variables, the doc page should be update to include the newly required GITNESS_PRINCIPAL_ADMIN_EMAIL env var
harness/gitness:latest
GITNESS_PRINCIPAL_ADMIN_EMAIL
docker run -d \ -e GITNESS_PRINCIPAL_ADMIN_EMAIL=mail@example.com \ -e GITNESS_PRINCIPAL_ADMIN_PASSWORD=correct-horse-battery-staple \ -e GITNESS_USER_SIGNUP_ENABLED=false \ -p 3000:3000 \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp/gitness:/data \ --name gitness \ --restart always \ harness/gitness
Otherwise:
gitness: error: encountered an error while bootstrapping the system: failed to setup admin user: failed to set up admin user: config.Principal.Admin.Email is required, try --help
Thanks @indaco for catching this.
We have updated the settings section with this new requirement https://docs.gitness.com/installation/settings
with docker image
harness/gitness:latest
after the remove default Admin account /environment variables, the doc page should be update to include the newly requiredGITNESS_PRINCIPAL_ADMIN_EMAIL
env varOtherwise: