update flarum beta 13

pull/54/head
Magicalex 2020-05-06 14:22:35 +02:00
parent 310eacf710
commit 9573db832e
No known key found for this signature in database
GPG Key ID: A89B48B1788C3CB5
5 changed files with 43 additions and 8 deletions

View File

@ -1,4 +1,4 @@
name: build-tag
name: tag
on:
push:
@ -6,7 +6,7 @@ on:
- stable-*
jobs:
build-tag:
tag:
runs-on: ubuntu-latest
steps:
-

View File

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

View File

@ -1,7 +1,7 @@
MIT License
Copyright (c) 2020 mondedie/flarum
Copyright (c) 2016-2020 mondedie/flarum
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -2,7 +2,7 @@
![logo](https://i.imgur.com/Bjrtbsc.png)
![](https://github.com/mondediefr/docker-flarum/workflows/build/badge.svg)
[![](https://github.com/mondediefr/docker-flarum/workflows/build/badge.svg)](https://github.com/mondediefr/docker-flarum/actions)
[![](https://img.shields.io/docker/pulls/mondedie/flarum)](https://hub.docker.com/r/mondedie/flarum)
[![](https://img.shields.io/docker/stars/mondedie/flarum)](https://hub.docker.com/r/mondedie/flarum)
@ -17,13 +17,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.11.1)
- Latest [Flarum Core](https://github.com/flarum/core) (v0.1.0-beta.13)
- 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.11*)
- **VERSION** = Version of [flarum/flarum](https://github.com/flarum/flarum) skeleton (default: *v0.1.0-beta.13*)
### Ports

View File

@ -1,5 +1,39 @@
# Guide for upgrade your flarum container
### 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: 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.13
...
```
2 - Pull the last docker images
```sh
docker pull mondedie/flarum:stable-v0.1.0-beta.13
docker-compose stop flarum
docker-compose rm flarum
docker-compose up -d flarum
```
3 - Updating your database and removing old assets
```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.12 from v0.1.0-beta.11.1
:warning: Backup your database, config.php, composer.lock and assets folder
@ -13,6 +47,7 @@ version: "3"
services:
flarum:
image: mondedie/flarum:stable-v0.1.0-beta.12
...
```
2 - Pull the last docker images