Managing authentication for the Control Panel

If you are installing Codacy for the first time, you will be prompted if you wish to have the Control Panel access protected by authentication:

Create user? (y/n)

If you decide to create a user, you will be prompted for a Username and Password:

Username: <your-control-panel-user>
Password:

Now the access to the Control Panel is protected by username and password.

I forgot my password

If you forgot your password you just need to run the installation script, and a new username/password will be prompted.

bash -c "$(curl -fsSL https://getenterprise.codacy.com/get)" -s install

Note that for legacy system (Docker 1.9.1) ONLY, you need to pass the "legacy" version to the script:

bash -c "$(curl -fsSL https://getenterprise.codacy.com/get)" -s install $HOME "legacy"

My current installation doesn't have authentication yet

If your installation doesn't have authentication yet you just need export the variables to the host environment and run the update script afterwards:

 

export DOPLICATED_USERNAME=myusername
export DOPLICATED_PASSWORD=mypassword
bash -c "$(curl -fsSL https://getenterprise.codacy.com/get)" -s update

Note that for legacy system (Docker 1.9.1) ONLY, you need to pass the "legacy" version to the script:

export DOPLICATED_USERNAME=myusername
export DOPLICATED_PASSWORD=mypassword
bash -c "$(curl -fsSL https://getenterprise.codacy.com/get)" -s update $HOME "legacy"

 

Will I lose any data if I install the Control Panel again?

No. No data will be lost if you reinstall the Control Panel, except for the username and password.

 

Can I set up a username and password for Monitoring (Crow)? 

Yes, after you set up the one for the control panel, Crow will have the same credentials. You just need to do: Configure -> Save -> Wait 10-15 seconds (for all the services to stop) -> Reload

Have more questions? Submit a request

0 Comments

Article is closed for comments.