Merge branch 'Technowix-patch-1' #3

pull/14/head
Hardware 2016-12-11 07:35:59 +01:00
commit f150a59bde
No known key found for this signature in database
GPG Key ID: EC6DF6F90263EDEA
1 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# mondedie/flarum # mondedie/docker-flarum
![logo](https://i.imgur.com/Bjrtbsc.png "logo") ![logo](https://i.imgur.com/Bjrtbsc.png "logo")
@ -30,8 +30,8 @@ Flarum is the next-generation forum software that makes online discussion fun. I
| Variable | Description | Type | Default value | | Variable | Description | Type | Default value |
| -------- | ----------- | ---- | ------------- | | -------- | ----------- | ---- | ------------- |
| **GID** | Flarum user id | *optional* | 991 | **UID** | Flarum user id | *optional* | 991
| **UID** | Flarum group id | *optional* | 991 | **GID** | Flarum group id | *optional* | 991
| **DEBUG** | Flarum debug mode | *optional* | false | **DEBUG** | Flarum debug mode | *optional* | false
| **FORUM_URL** | Forum URL | **required** | none | **FORUM_URL** | Forum URL | **required** | none
| **DB_HOST** | MariaDB instance ip/hostname | *optional* | mariadb | **DB_HOST** | MariaDB instance ip/hostname | *optional* | mariadb
@ -46,10 +46,10 @@ Flarum is the next-generation forum software that makes online discussion fun. I
``` ```
# Pull from hub.docker.com : # Pull from hub.docker.com :
docker pull mondedie/flarum docker pull mondedie/docker-flarum
# or build it manually : # or build it manually :
docker build -t mondedie/flarum https://github.com/mondediefr/flarum.git#master docker build -t mondedie/docker-flarum https://github.com/mondediefr/flarum.git#master
``` ```
#### 2 - Docker-compose.yml #### 2 - Docker-compose.yml
@ -58,7 +58,7 @@ Adapt to your needs :
``` ```
flarum: flarum:
image: mondedie/flarum image: mondedie/docker-flarum
container_name: flarum container_name: flarum
links: links:
- mariadb:mariadb - mariadb:mariadb
@ -98,7 +98,7 @@ docker-compose up -d
:warning: Disable 3rd party extensions prior to upgrading. :warning: Disable 3rd party extensions prior to upgrading.
``` ```
docker pull mondedie/flarum && docker-compose up -d docker pull mondedie/docker-flarum && docker-compose up -d
``` ```
Navigate to `yourforum.com/admin`, enter your database password and update. Navigate to `yourforum.com/admin`, enter your database password and update.