Update to 0.1.0-beta.14 (#61)

pull/63/head
Gunslinger 2020-10-25 18:19:09 +08:00 committed by GitHub
parent 5e084202ec
commit 6bb6a2a845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 4 deletions

View File

@ -3,7 +3,7 @@ FROM alpine:3.12
LABEL description="Simple forum software for building great communities" \
maintainer="Magicalex <magicalex@mondedie.fr>, Hardware <hardware@mondedie.fr>"
ARG VERSION=v0.1.0-beta.13
ARG VERSION=v0.1.0-beta.14
ENV GID=991 \
UID=991 \

View File

@ -10,20 +10,21 @@
- **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.13** [(Dockerfile)](https://github.com/mondediefr/docker-flarum/blob/master/Dockerfile)
- **0.1.0-beta.13** [(Dockerfile)](https://github.com/mondediefr/docker-flarum/blob/0.1.0-beta.13/Dockerfile)
- **0.1.0-beta.14** [(Dockerfile)](https://github.com/mondediefr/docker-flarum/blob/0.1.0-beta.14/Dockerfile)
### Features
- 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.13)
- Latest [Flarum Core](https://github.com/flarum/core) (v0.1.0-beta.14)
- 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.13*)
- **VERSION** = Version of [flarum/flarum](https://github.com/flarum/flarum) skeleton (default: *v0.1.0-beta.14*)
### Ports

View File

@ -1,5 +1,41 @@
# Guide for upgrade your flarum container
### Upgrade to v0.1.0-beta.14 from v0.1.0-beta.13
: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:stable-v0.1.0-beta.14
...
```
2 - Pull the last docker images
```sh
docker pull mondedie/flarum:stable-v0.1.0-beta.14
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 extension remove --no-update flarum/auth-facebook flarum/auth-github flarum/auth-twitter
docker exec -ti flarum extension require fof/oauth --no-update
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.13 from v0.1.0-beta.12
:warning: Backup your database, config.php, composer.lock and assets folder