Add info on how to update to README

This commit is contained in:
ellite 2023-11-16 21:53:33 +01:00
parent b57c25843b
commit 00be8bfe1f

View File

@ -12,7 +12,9 @@ Wallos: Open-Source Personal Subscription Tracker
- [Docker](#docker) - [Docker](#docker)
- [Installation](#installation) - [Installation](#installation)
- [Baremetal](#baremetal-1) - [Baremetal](#baremetal-1)
- [Updating](#updating)
- [Docker](#docker-1) - [Docker](#docker-1)
- [Docker-Compose](#docker-compose)
- [Usage](#usage) - [Usage](#usage)
- [Contributing](#contributing) - [Contributing](#contributing)
- [Screenshots](#screenshots) - [Screenshots](#screenshots)
@ -73,6 +75,10 @@ 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. 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 #### Docker
```bash ```bash
@ -81,7 +87,9 @@ docker run -d --name wallos -v /path/to/config/wallos/db:/var/www/html/db \
-e TZ=Europe/Berlin -p 8282:80 --restart unless-stopped \ -e TZ=Europe/Berlin -p 8282:80 --restart unless-stopped \
bellamy/wallos:latest bellamy/wallos:latest
``` ```
docker-compose.yml
### Docker Compose
``` ```
version: '3.0' version: '3.0'