From 00be8bfe1f2ba43877f554d2d496d5931bafa0af Mon Sep 17 00:00:00 2001 From: ellite Date: Thu, 16 Nov 2023 21:53:33 +0100 Subject: [PATCH] Add info on how to update to README --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 679e3d53b..cd3eb277b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,9 @@ Wallos: Open-Source Personal Subscription Tracker - [Docker](#docker) - [Installation](#installation) - [Baremetal](#baremetal-1) + - [Updating](#updating) - [Docker](#docker-1) + - [Docker-Compose](#docker-compose) - [Usage](#usage) - [Contributing](#contributing) - [Screenshots](#screenshots) @@ -73,15 +75,21 @@ Add the following scripts to your cronjobs with `crontab -e` If your web root is not `/var/www/html/` adjust both the cronjobs above and `/endpoints/cronjobs/conf.php` accordingly. +#### Updating + +After an update run `http://domain.example/endpoints/db/migrate.php` + #### Docker ```bash docker run -d --name wallos -v /path/to/config/wallos/db:/var/www/html/db \ -v /path/to/config/wallos/logos:/var/www/html/images/uploads/logos \ --e TZ=Europe/Berlin -p 8282:80 --restart unless-stopped \ +-e TZ=Europe/Berlin -p 8282:80 --restart unless-stopped \ bellamy/wallos:latest ``` -docker-compose.yml + +### Docker Compose + ``` version: '3.0'