EsperoTech / yaade

Yaade is an open-source, self-hosted, collaborative API development environment.
MIT License
1.6k stars 71 forks source link

Reset Password #175

Closed Fovir-GitHub closed 4 months ago

Fovir-GitHub commented 4 months ago

Unfortunately, I forgot my password. Are there any way to reset my password? I had tried to reinstall it, however, it didn't work. Thanks for your help.

jonrosner commented 4 months ago

Yes this is possible. Given that you used a persistent docker volume as stated in the docs you can remove your currently running container docker rm -f yaade and start a new one with a new admin username:

docker run -d --restart=always -p 9339:9339 \
    -e YAADE_ADMIN_USERNAME=admin2 -v yaade:/app/data \
    --name yaade esperotech/yaade:latest

The password for the new admin2 user will be password