mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
feat: 删除一些无用的文件 (#65)
This commit is contained in:
@@ -1,69 +0,0 @@
|
||||
# 使用说明
|
||||
## 账户密码
|
||||
- 初始账户: 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).
|
||||
|
||||
|
||||
@@ -1,104 +0,0 @@
|
||||
{
|
||||
"formFields": [
|
||||
{
|
||||
"type": "apps",
|
||||
"labelZh": "数据库服务",
|
||||
"labelEn": "Database Service",
|
||||
"required": true,
|
||||
"default": "mysql",
|
||||
"values": [{
|
||||
"label": "MySQL",
|
||||
"value": "mysql"
|
||||
}],
|
||||
"child": {
|
||||
"type": "service",
|
||||
"labelZh": "数据库服务",
|
||||
"labelEn": "Database Service",
|
||||
"required": true,
|
||||
"default": "",
|
||||
"envKey": "PANEL_DB_HOST"
|
||||
},
|
||||
"params": [
|
||||
{
|
||||
"type": "param",
|
||||
"key": "mysql",
|
||||
"value": "3306",
|
||||
"envKey": "FLARUM_DB_PORT"
|
||||
},
|
||||
{
|
||||
"type": "param",
|
||||
"key": "postgresql",
|
||||
"value": "5432",
|
||||
"envKey": "FLARUM_DB_PORT"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"labelZh": "数据库名",
|
||||
"labelEn": "Database",
|
||||
"required": true,
|
||||
"default": "flarum",
|
||||
"random": true,
|
||||
"rule": "paramCommon",
|
||||
"envKey": "PANEL_DB_NAME"
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"labelZh": "数据库用户",
|
||||
"labelEn": "User",
|
||||
"required": true,
|
||||
"default": "flarum",
|
||||
"random": true,
|
||||
"rule": "paramCommon",
|
||||
"envKey": "PANEL_DB_USER"
|
||||
},
|
||||
{
|
||||
"type": "password",
|
||||
"labelZh": "数据库用户密码",
|
||||
"labelEn": "Password",
|
||||
"required": true,
|
||||
"default": "flarum",
|
||||
"random": true,
|
||||
"rule": "paramComplexity",
|
||||
"envKey": "PANEL_DB_USER_PASSWORD"
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"labelZh": "数据库前缀",
|
||||
"labelEn": "Database prefix",
|
||||
"required": true,
|
||||
"default": "flarum_",
|
||||
"envKey": "PANEL_DB_PREFIX"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"labelZh": "端口",
|
||||
"labelEn": "Port",
|
||||
"required": true,
|
||||
"default": 40020,
|
||||
"rule": "paramPort",
|
||||
"envKey": "PANEL_APP_PORT_HTTP",
|
||||
"edit": true
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"labelZh": "数据存放文件夹",
|
||||
"labelEn": "Data storage folder",
|
||||
"required": true,
|
||||
"default": "./data",
|
||||
"envKey": "DATA_PATH",
|
||||
"edit": true
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"labelZh": "本机IP",
|
||||
"labelEn": "Local IP",
|
||||
"required": true,
|
||||
"default": "127.0.0.1",
|
||||
"envKey": "Dockerized_HOST",
|
||||
"edit": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
version: "3"
|
||||
services:
|
||||
flarum:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: unless-stopped
|
||||
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=http://${Dockerized_HOST}:${PANEL_APP_PORT_HTTP}
|
||||
image: crazymax/flarum:latest
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user