mirror of
https://github.com/bigbeartechworld/big-bear-scripts.git
synced 2026-05-18 22:01:58 -04:00
d15f1cb139a0cbe26f97b9fd0c2e4e927b46d966
This commit adds a new script `run.sh` that allows users to update the database password for their CasaOS application. The script supports both PostgreSQL and MySQL/MariaDB databases, and it provides instructions for updating the password in the `docker-compose.yml` file. The key features of this script include: - Checking if the script is run as root - Displaying a user-friendly introduction and instructions - Allowing the user to select the database container to update - Prompting the user to enter a new password - Updating the password in the database container - Updating the `.env` file if it exists - Providing an option to edit the `docker-compose.yml` file using the user's preferred editor (nano or vim) - Applying the changes using the `casaos-cli` tool This script aims to simplify the process of updating the database password for CasaOS users, making it more accessible and user-friendly.
BigBearScripts
YouTube Link: https://www.youtube.com/@bigbeartechworld
BigBearCommunity
If you have a suggestion for a video, post in the BigBearCommunity.
Support My Work
Languages
Shell
99.2%
JavaScript
0.8%