update flarum beta 13
parent
310eacf710
commit
9573db832e
|
@ -1,4 +1,4 @@
|
||||||
name: build-tag
|
name: tag
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -6,7 +6,7 @@ on:
|
||||||
- stable-*
|
- stable-*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-tag:
|
tag:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
|
@ -3,7 +3,7 @@ FROM alpine:3.11
|
||||||
LABEL description="Simple forum software for building great communities" \
|
LABEL description="Simple forum software for building great communities" \
|
||||||
maintainer="Hardware <hardware@mondedie.fr>, Magicalex <magicalex@mondedie.fr>"
|
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 \
|
ENV GID=991 \
|
||||||
UID=991 \
|
UID=991 \
|
||||||
|
|
2
LICENSE
2
LICENSE
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
MIT License
|
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
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
![logo](https://i.imgur.com/Bjrtbsc.png)
|
![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/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)
|
[![](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`
|
- 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.11.1)
|
- Latest [Flarum Core](https://github.com/flarum/core) (v0.1.0-beta.13)
|
||||||
- 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.11*)
|
- **VERSION** = Version of [flarum/flarum](https://github.com/flarum/flarum) skeleton (default: *v0.1.0-beta.13*)
|
||||||
|
|
||||||
### Ports
|
### Ports
|
||||||
|
|
||||||
|
|
35
UPGRADE.md
35
UPGRADE.md
|
@ -1,5 +1,39 @@
|
||||||
# Guide for upgrade your flarum container
|
# 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
|
### 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
|
:warning: Backup your database, config.php, composer.lock and assets folder
|
||||||
|
@ -13,6 +47,7 @@ version: "3"
|
||||||
services:
|
services:
|
||||||
flarum:
|
flarum:
|
||||||
image: mondedie/flarum:stable-v0.1.0-beta.12
|
image: mondedie/flarum:stable-v0.1.0-beta.12
|
||||||
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
2 - Pull the last docker images
|
2 - Pull the last docker images
|
||||||
|
|
Loading…
Reference in New Issue