admin. If LIGHTSHIP_ADMIN_PASSWORD_HASH is unset on first
boot, LightShip generates a random password and prints it once to the service logs. Run the Docker
Compose commands below from the LightShip checkout root.
On a hosted platform, use the same sequence through the platform controls: read the service logs,
set LIGHTSHIP_ADMIN_PASSWORD_HASH in its secret manager, restart the service, and open its
deployment URL instead of http://localhost:8080.
Find the generated password
If the container is still running and logs are available, read the password from the Compose logs:1
Read the logs
2
Sign in
Open http://localhost:8080 and sign in as
admin using the password from the logs.Reset the admin password
If the generated password is lost, generate a new hash with the CLI and restart the container:1
Generate a new hash
2
Update the environment
Set
LIGHTSHIP_ADMIN_PASSWORD_HASH to the generated hash. For Docker Compose, add it to your
.env file. For a hosted deployment, store it in the platform’s secret manager.3
Recreate the container