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
Argon2id
hash of your new password using the Argon2 playground. Make sure to set the following settings:Argon2id
Time 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
, anddatabase
for the values configured in yourcompose.yaml
, andhash
for the generated hash from step 2.