docs(): update readme #2

pull/3/head
hardware 2016-10-05 14:13:27 +02:00 committed by GitHub
parent 6da7238d17
commit 34d12f8b66
1 changed files with 16 additions and 13 deletions

View File

@ -66,22 +66,25 @@ Create an `.env` file with your environment variables :
```bash ```bash
# vim ~/.config/flarum/.env # vim ~/.config/flarum/.env
UID=991 # Optional # UID=991
GID=991 # Optional # GID=991
FORUM_URL=https://forum.domain.tld/ # Required # URL required
FORUM_URL=https://forum.domain.tld/
DB_HOST=mariadb # Optional # DB_HOST=mariadb
DB_NAME=flarum # Optional # DB_NAME=flarum
DB_USER=flarum # Optional # DB_USER=flarum
DB_PASS=yyyyyyyy # Required
MAIL_FROM=noreply@domain.tld # Optional # Database password required
MAIL_HOST=mail.domain.tld # Optional DB_PASS=yyyyyyyy
MAIL_PORT=465 # Optional
MAIL_ENCR=ssl # Optional # MAIL_FROM=noreply@domain.tld
MAIL_USER=admin@domain.tld # Optional # MAIL_HOST=mail.domain.tld
MAIL_PASS=xxxxxxxx # Optional # MAIL_PORT=465
# MAIL_ENCR=ssl
# MAIL_USER=admin@domain.tld
# MAIL_PASS=xxxxxxxx
``` ```
#### 3 - Docker-compose.yml #### 3 - Docker-compose.yml