Update to 0.1.0-beta.14 (#61)
parent
5e084202ec
commit
6bb6a2a845
|
@ -3,7 +3,7 @@ FROM alpine:3.12
|
||||||
LABEL description="Simple forum software for building great communities" \
|
LABEL description="Simple forum software for building great communities" \
|
||||||
maintainer="Magicalex <magicalex@mondedie.fr>, Hardware <hardware@mondedie.fr>"
|
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 \
|
ENV GID=991 \
|
||||||
UID=991 \
|
UID=991 \
|
||||||
|
|
|
@ -10,20 +10,21 @@
|
||||||
|
|
||||||
- **latest** [(Dockerfile)](https://github.com/mondediefr/docker-flarum/blob/master/Dockerfile)
|
- **latest** [(Dockerfile)](https://github.com/mondediefr/docker-flarum/blob/master/Dockerfile)
|
||||||
- **stable** [(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
|
### Features
|
||||||
|
|
||||||
- Multi-platform image: `linux/386`, `linux/amd64`, `linux/arm/v6`, `linux/arm/v7`, `linux/arm64`
|
- Multi-platform image: `linux/386`, `linux/amd64`, `linux/arm/v6`, `linux/arm/v7`, `linux/arm64`
|
||||||
- Lightweight & secure image
|
- Lightweight & secure image
|
||||||
- Based on Alpine Linux with **nginx** and **PHP 7.3**
|
- 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
|
- MySQL/Mariadb driver
|
||||||
- OPCache extension configured
|
- OPCache extension configured
|
||||||
|
|
||||||
### Build-time variables
|
### 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
|
### Ports
|
||||||
|
|
||||||
|
|
36
UPGRADE.md
36
UPGRADE.md
|
@ -1,5 +1,41 @@
|
||||||
# Guide for upgrade your flarum container
|
# 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
|
### Upgrade to v0.1.0-beta.13 from v0.1.0-beta.12
|
||||||
|
|
||||||
:warning: Backup your database, config.php, composer.lock and assets folder
|
:warning: Backup your database, config.php, composer.lock and assets folder
|
||||||
|
|
Loading…
Reference in New Issue