This script automates the process of updating your Ghostfolio instance and its related Docker containers. It simplifies maintenance by pulling the latest images, restarting the containers, and pruning unused images, ensuring your Ghostfolio setup is always up-to-date.
- Clone this repository:
git clone https://github.com/fucnim17/update-ghostfolio.git
- Make the script executable:
chmod +x update-ghostfolio.sh
- Run the script:
./update-ghostfolio.sh
- This script can be automated using Cron.
- The script uses the
docker-compose.yml
file located at/root/ghostfolio/docker/docker-compose.yml
by default. You can modify theCOMPOSE_FILE
variable in the script to use a different file. - The script logs all actions to
update-ghostfolio.log
.
This script is licensed under the GNU General Public License Version 3. See the LICENSE
file for details.