docs(): upgrade to beta 15

pull/72/head
Magicalex 2020-12-23 02:03:15 +01:00
parent c485fd95c8
commit a1d4bd18a8
No known key found for this signature in database
GPG Key ID: A89B48B1788C3CB5
2 changed files with 38 additions and 3 deletions

View File

@ -10,6 +10,7 @@
- **latest** [(Dockerfile)](https://github.com/mondediefr/docker-flarum/blob/master/Dockerfile)
- **stable** [(Dockerfile)](https://github.com/mondediefr/docker-flarum/blob/master/Dockerfile)
- **0.1.0-beta.15** [(Dockerfile)](https://github.com/mondediefr/docker-flarum/blob/0.1.0-beta.15/Dockerfile)
- **0.1.0-beta.14.1** [(Dockerfile)](https://github.com/mondediefr/docker-flarum/blob/0.1.0-beta.14.1/Dockerfile)
- **0.1.0-beta.14** [(Dockerfile)](https://github.com/mondediefr/docker-flarum/blob/0.1.0-beta.14/Dockerfile)
- **0.1.0-beta.13** [(Dockerfile)](https://github.com/mondediefr/docker-flarum/blob/0.1.0-beta.13/Dockerfile)
@ -19,13 +20,13 @@
- Multi-platform image: `linux/386`, `linux/amd64`, `linux/arm/v6`, `linux/arm/v7`, `linux/arm64`
- Lightweight & secure image
- Based on Alpine Linux with **nginx** and **PHP 7.3**
- Latest [Flarum Core](https://github.com/flarum/core) (v0.1.0-beta.14.1)
- Latest [Flarum Core](https://github.com/flarum/core) (v0.1.0-beta.15)
- MySQL/Mariadb driver
- OPCache extension configured
### Build-time variables
- **VERSION** = Version of [flarum/flarum](https://github.com/flarum/flarum) skeleton (default: *v0.1.0-beta.14*)
- **VERSION** = Version of [flarum/flarum](https://github.com/flarum/flarum) skeleton (default: *v0.1.0-beta.15*)
### Ports
@ -99,7 +100,7 @@ services:
- mariadb
mariadb:
image: mariadb:10.4
image: mariadb:10.5
container_name: mariadb
environment:
- MYSQL_ROOT_PASSWORD=xxxxxxxxxx

View File

@ -1,5 +1,39 @@
# Guide for upgrade your flarum container
### Upgrade to v0.1.0-beta.15 from v0.1.0-beta.14.1
:warning: Backup your database, config.php, composer.lock and assets folder
:warning: Disable all 3rd party extensions prior to upgrading in panel admin.
1 - Update your docker-compose file, see an example [here](https://github.com/mondediefr/docker-flarum/tree/master#2---docker-composeyml)
```yml
version: "3"
services:
flarum:
image: mondedie/flarum:0.1.0-beta.15
...
```
2 - Pull the last docker images
```sh
docker pull mondedie/flarum:0.1.0-beta.15
docker-compose stop flarum
docker-compose rm flarum
docker-compose up -d flarum
```
3 - Updating your database and removing old assets & extensions
```sh
docker exec -ti flarum php /flarum/app/flarum migrate
docker exec -ti flarum php /flarum/app/flarum cache:clear
```
After that your upgrade is finish. :tada: :tada:
### Upgrade to v0.1.0-beta.14.1 from v0.1.0-beta.14
:warning: Backup your database, config.php, composer.lock and assets folder