精简提交历史记录
This commit is contained in:
10
apps/flarum/1.7.1/.env.sample
Normal file
10
apps/flarum/1.7.1/.env.sample
Normal file
@@ -0,0 +1,10 @@
|
||||
CONTAINER_NAME="flarum"
|
||||
PANEL_APP_PORT_HTTP="40020"
|
||||
DATA_PATH="./data"
|
||||
PANEL_DB_HOST="127.0.0.1"
|
||||
FLARUM_DB_PORT="3306"
|
||||
PANEL_DB_NAME="flarum"
|
||||
PANEL_DB_USER="flarum"
|
||||
PANEL_DB_USER_PASSWORD="MyDBPWD_brls9UwcRasl"
|
||||
PANEL_DB_PREFIX="flarum_"
|
||||
FLARUM_EXTERNAL_URL="http://localhost:40020"
|
||||
78
apps/flarum/1.7.1/data.yml
Normal file
78
apps/flarum/1.7.1/data.yml
Normal file
@@ -0,0 +1,78 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_DB_HOST
|
||||
labelEn: Database Service
|
||||
labelZh: 数据库服务
|
||||
required: true
|
||||
type: service
|
||||
default: mysql
|
||||
labelEn: Database Service
|
||||
labelZh: 数据库服务
|
||||
params:
|
||||
- envKey: FLARUM_DB_PORT
|
||||
key: mysql
|
||||
type: param
|
||||
value: "3306"
|
||||
- envKey: FLARUM_DB_PORT
|
||||
key: postgresql
|
||||
type: param
|
||||
value: "5432"
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
- label: MySQL
|
||||
value: mysql
|
||||
- default: flarum
|
||||
envKey: PANEL_DB_NAME
|
||||
labelEn: Database
|
||||
labelZh: 数据库名
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: flarum
|
||||
envKey: PANEL_DB_USER
|
||||
labelEn: User
|
||||
labelZh: 数据库用户
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: flarum
|
||||
envKey: PANEL_DB_USER_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 数据库用户密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: flarum_
|
||||
envKey: PANEL_DB_PREFIX
|
||||
labelEn: Database prefix
|
||||
labelZh: 数据库前缀
|
||||
required: true
|
||||
type: text
|
||||
- default: 40020
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ./data
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data storage folder
|
||||
labelZh: 数据存放文件夹
|
||||
required: true
|
||||
type: text
|
||||
- default: http://localhost:40020
|
||||
edit: true
|
||||
envKey: FLARUM_EXTERNAL_URL
|
||||
labelEn: External URL
|
||||
labelZh: 外部访问地址
|
||||
required: true
|
||||
type: text
|
||||
36
apps/flarum/1.7.1/docker-compose.yml
Normal file
36
apps/flarum/1.7.1/docker-compose.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
version: "3"
|
||||
services:
|
||||
flarum:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8000"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/data"
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- MEMORY_LIMIT=256M
|
||||
- UPLOAD_MAX_SIZE=256M
|
||||
- CLEAR_ENV=yes
|
||||
- OPCACHE_MEM_SIZE=128M
|
||||
- LISTEN_IPV6=true
|
||||
- REAL_IP_FROM=0.0.0.0/32
|
||||
- DB_HOST=${PANEL_DB_HOST}
|
||||
- DB_PORT=${FLARUM_DB_PORT}
|
||||
- DB_NAME=${PANEL_DB_NAME}
|
||||
- DB_USER=${PANEL_DB_USER}
|
||||
- DB_PASSWORD=${PANEL_DB_USER_PASSWORD}
|
||||
- DB_PREFIX=${PANEL_DB_PREFIX}
|
||||
- DB_NOPREFIX=false
|
||||
- DB_TIMEOUT=60
|
||||
- FLARUM_BASE_URL=${FLARUM_EXTERNAL_URL}
|
||||
image: crazymax/flarum:1.8.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
69
apps/flarum/README.md
Normal file
69
apps/flarum/README.md
Normal file
@@ -0,0 +1,69 @@
|
||||
# 使用说明
|
||||
## 账户密码
|
||||
- 初始账户: flarum
|
||||
- 初始密码: flarum
|
||||
|
||||
## 中文语言包
|
||||
|
||||
> 中文语言包:
|
||||
>> - https://github.com/flarum-lang/chinese-simplified
|
||||
|
||||
使用说明:
|
||||
|
||||
- Flarum v0.1.0-beta.8 及以上版本
|
||||
|
||||
进入容器终端运行以下安装中文语言包,详细可查看原项目文档。
|
||||
```
|
||||
composer require flarum-lang/chinese-simplified
|
||||
php flarum cache:clear
|
||||
```
|
||||
|
||||
## 所使用docker镜像相关:
|
||||
|
||||
> 项目链接
|
||||
>> - https://hub.docker.com/r/crazymax/flarum
|
||||
>> - https://github.com/crazy-max/docker-flarum
|
||||
|
||||
# 原始相关
|
||||
|
||||
<p align="center">
|
||||
<a href="https://flarum.org/"><img src="https://flarum.org/assets/img/logo.png"></a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://packagist.org/packages/flarum/core"><img src="https://poser.pugx.org/flarum/core/d/total.svg" alt="Total Downloads"></a>
|
||||
<a href="https://packagist.org/packages/flarum/core"><img src="https://poser.pugx.org/flarum/core/v/stable.svg" alt="Latest Stable Version"></a>
|
||||
<a href="https://packagist.org/packages/flarum/core"><img src="https://poser.pugx.org/flarum/core/license.svg" alt="License"></a>
|
||||
</p>
|
||||
|
||||
## About Flarum
|
||||
|
||||
**[Flarum](https://flarum.org/) is a delightfully simple discussion platform for your website.** It's fast and easy to use, with all the features you need to run a successful community. It is designed to be:
|
||||
|
||||
* **Fast and simple.** No clutter, no bloat, no complex dependencies. Flarum is built with PHP so it’s quick and easy to deploy. The interface is powered by Mithril, a performant JavaScript framework with a tiny footprint.
|
||||
|
||||
* **Beautiful and responsive.** This is forum software for humans. Flarum is carefully designed to be consistent and intuitive across platforms, out-of-the-box.
|
||||
|
||||
* **Powerful and extensible.** Customize, extend, and integrate Flarum to suit your community. Flarum’s architecture is amazingly flexible, with a powerful Extension API.
|
||||
|
||||

|
||||
|
||||
## Installation
|
||||
|
||||
Read the **[Installation guide](https://docs.flarum.org/install)** to get started. For support, refer to the [documentation](https://docs.flarum.org/), and ask questions on the [community forum](https://discuss.flarum.org/) or [Discord chat](https://flarum.org/discord/).
|
||||
|
||||
## Contributing
|
||||
|
||||
Thank you for considering contributing to Flarum! Please read the **[Contributing guide](https://docs.flarum.org/contributing)** to learn how you can help.
|
||||
|
||||
This repository only holds the Flarum skeleton application. Most development happens in [flarum/core](https://github.com/flarum/core).
|
||||
|
||||
## Security Vulnerabilities
|
||||
|
||||
If you discover a security vulnerability within Flarum, please follow our [security policy](https://github.com/flarum/core/security/policy) so we can address it promptly.
|
||||
|
||||
## License
|
||||
|
||||
Flarum is open-source software licensed under the [MIT License](https://github.com/flarum/flarum/blob/master/LICENSE).
|
||||
|
||||
|
||||
20
apps/flarum/data.yml
Normal file
20
apps/flarum/data.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: flarum
|
||||
tags:
|
||||
- 建站
|
||||
title: 新一代的论坛软件,使在线讨论变得有趣
|
||||
type: 建站
|
||||
description: 新一代的论坛软件,使在线讨论变得有趣
|
||||
additionalProperties:
|
||||
key: flarum
|
||||
name: flarum
|
||||
tags:
|
||||
- WebSite
|
||||
shortDescZh: 新一代的论坛软件,使在线讨论变得有趣
|
||||
shortDescEn: The next-generation forum software that makes online discussion fun
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://flarum.org/
|
||||
github: https://github.com/flarum/flarum
|
||||
document: https://docs.flarum.org/
|
||||
10
apps/flarum/latest/.env.sample
Normal file
10
apps/flarum/latest/.env.sample
Normal file
@@ -0,0 +1,10 @@
|
||||
CONTAINER_NAME="flarum"
|
||||
PANEL_APP_PORT_HTTP="40020"
|
||||
DATA_PATH="./data"
|
||||
PANEL_DB_HOST="127.0.0.1"
|
||||
FLARUM_DB_PORT="3306"
|
||||
PANEL_DB_NAME="flarum"
|
||||
PANEL_DB_USER="flarum"
|
||||
PANEL_DB_USER_PASSWORD="MyDBPWD_brls9UwcRasl"
|
||||
PANEL_DB_PREFIX="flarum_"
|
||||
FLARUM_EXTERNAL_URL="http://localhost:40020"
|
||||
78
apps/flarum/latest/data.yml
Normal file
78
apps/flarum/latest/data.yml
Normal file
@@ -0,0 +1,78 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_DB_HOST
|
||||
labelEn: Database Service
|
||||
labelZh: 数据库服务
|
||||
required: true
|
||||
type: service
|
||||
default: mysql
|
||||
labelEn: Database Service
|
||||
labelZh: 数据库服务
|
||||
params:
|
||||
- envKey: FLARUM_DB_PORT
|
||||
key: mysql
|
||||
type: param
|
||||
value: "3306"
|
||||
- envKey: FLARUM_DB_PORT
|
||||
key: postgresql
|
||||
type: param
|
||||
value: "5432"
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
- label: MySQL
|
||||
value: mysql
|
||||
- default: flarum
|
||||
envKey: PANEL_DB_NAME
|
||||
labelEn: Database
|
||||
labelZh: 数据库名
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: flarum
|
||||
envKey: PANEL_DB_USER
|
||||
labelEn: User
|
||||
labelZh: 数据库用户
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: flarum
|
||||
envKey: PANEL_DB_USER_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 数据库用户密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: flarum_
|
||||
envKey: PANEL_DB_PREFIX
|
||||
labelEn: Database prefix
|
||||
labelZh: 数据库前缀
|
||||
required: true
|
||||
type: text
|
||||
- default: 40020
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ./data
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data storage folder
|
||||
labelZh: 数据存放文件夹
|
||||
required: true
|
||||
type: text
|
||||
- default: http://localhost:40020
|
||||
edit: true
|
||||
envKey: FLARUM_EXTERNAL_URL
|
||||
labelEn: External URL
|
||||
labelZh: 外部访问地址
|
||||
required: true
|
||||
type: text
|
||||
36
apps/flarum/latest/docker-compose.yml
Normal file
36
apps/flarum/latest/docker-compose.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
version: "3"
|
||||
services:
|
||||
flarum:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8000"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/data"
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- MEMORY_LIMIT=256M
|
||||
- UPLOAD_MAX_SIZE=256M
|
||||
- CLEAR_ENV=yes
|
||||
- OPCACHE_MEM_SIZE=128M
|
||||
- LISTEN_IPV6=true
|
||||
- REAL_IP_FROM=0.0.0.0/32
|
||||
- DB_HOST=${PANEL_DB_HOST}
|
||||
- DB_PORT=${FLARUM_DB_PORT}
|
||||
- DB_NAME=${PANEL_DB_NAME}
|
||||
- DB_USER=${PANEL_DB_USER}
|
||||
- DB_PASSWORD=${PANEL_DB_USER_PASSWORD}
|
||||
- DB_PREFIX=${PANEL_DB_PREFIX}
|
||||
- DB_NOPREFIX=false
|
||||
- DB_TIMEOUT=60
|
||||
- FLARUM_BASE_URL=${FLARUM_EXTERNAL_URL}
|
||||
image: crazymax/flarum:latest
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
BIN
apps/flarum/logo.png
Normal file
BIN
apps/flarum/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
Reference in New Issue
Block a user