Christopher d15f1cb139 🔧 feat(casaos-update-database-password): Add script to update database password
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.
2025-02-21 13:31:43 -06:00
2023-10-04 21:27:05 -05:00
2023-08-14 21:39:57 -05:00
2023-10-27 11:00:31 -05:00

BigBearScripts

YouTube Link: https://www.youtube.com/@bigbeartechworld

BigBearCommunity

If you have a suggestion for a video, post in the BigBearCommunity.

Support My Work

ko-fi

Description
No description provided
Readme MIT 1 MiB
Languages
Shell 99.2%
JavaScript 0.8%