Resetting Your Password
In case you forgot or lost your password and need to reset it, you can do so by updating the password_hash column in the database.
Follow these steps:
-
Generate an
Argon2idhash of your new password using the Argon2 playground. Make sure to set the following settings:Argon2idTime cost>=2
-
Copy the generated hash.
-
Enter the following command on the system where the database runs in Docker:
docker exec -i <container_name> echo "UPDATE users SET password_hash='<hash>' WHERE id = 1" \ | psql -U <user> -d <database>Substitute
container_name,user, anddatabasefor the values configured in yourcompose.yaml, andhashfor the generated hash from step 2.