docs(): upgrade to beta 15
parent
c485fd95c8
commit
a1d4bd18a8
|
@ -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
|
||||
|
|
34
UPGRADE.md
34
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
|
||||
|
|
Loading…
Reference in New Issue