From a1d4bd18a8e3252cbd46128d5719ab405194a7bb Mon Sep 17 00:00:00 2001 From: Magicalex Date: Wed, 23 Dec 2020 02:03:15 +0100 Subject: [PATCH] docs(): upgrade to beta 15 --- README.md | 7 ++++--- UPGRADE.md | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7171501..3cd29c2 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/UPGRADE.md b/UPGRADE.md index 925fff3..4f2e0ae 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -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