mirror of
https://github.com/okxlin/appstore.git
synced 2025-09-14 13:56:55 +08:00
feat:优化适配modstartcms
This commit is contained in:
parent
0f59c87732
commit
11f3f333cc
2
apps/modstartcms/7.6.0/.env.sample
Normal file
2
apps/modstartcms/7.6.0/.env.sample
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
CONTAINER_NAME="modstartcms"
|
||||||
|
PANEL_APP_PORT_HTTP="40176"
|
@ -1,6 +1,6 @@
|
|||||||
additionalProperties:
|
additionalProperties:
|
||||||
formFields:
|
formFields:
|
||||||
- default: 40080
|
- default: 40176
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PANEL_APP_PORT_HTTP
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
labelEn: HTTP WebUI Port
|
labelEn: HTTP WebUI Port
|
||||||
@ -8,4 +8,3 @@ additionalProperties:
|
|||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: "3"
|
version: '3'
|
||||||
services:
|
services:
|
||||||
modstartcms:
|
modstartcms:
|
||||||
container_name: ${CONTAINER_NAME}
|
container_name: ${CONTAINER_NAME}
|
||||||
@ -8,14 +8,11 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "${PANEL_APP_PORT_HTTP}:80"
|
- "${PANEL_APP_PORT_HTTP}:80"
|
||||||
volumes:
|
volumes:
|
||||||
- modstartcms:/server/web
|
- ./data:/server/web
|
||||||
image: modstart/modstartcms:v7.6.0
|
image: modstart/modstartcms:v7.6.0
|
||||||
labels:
|
labels:
|
||||||
createdBy: "Apps"
|
createdBy: "Apps"
|
||||||
|
|
||||||
volumes:
|
|
||||||
modstartcms:
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
1panel-network:
|
1panel-network:
|
||||||
external: true
|
external: true
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
# 数据文件夹授权
|
||||||
|
- 1、**必要操作:** 首次安装完成后,进入已安装应用界面,点击跳转数据目录,修改目录下的`data`文件夹为`www-data`用户。
|
||||||
|
|
||||||
|
命令行修改则类似如下,路径按需修改:
|
||||||
|
```
|
||||||
|
chown -R www-data /opt/1panel/apps/local/modstartcms/modstartcms/data
|
||||||
|
```
|
||||||
|
|
||||||
|
- 2、回到已安装应用界面,重建应用。
|
||||||
|
|
||||||
# 数据库初始化
|
# 数据库初始化
|
||||||
|
|
||||||
- 1、进入数据库菜单
|
- 1、进入数据库菜单
|
||||||
|
@ -12,7 +12,7 @@ additionalProperties:
|
|||||||
shortDescZh: 开源企业建站系统
|
shortDescZh: 开源企业建站系统
|
||||||
shortDescEn: Open Source Corp Website Building System
|
shortDescEn: Open Source Corp Website Building System
|
||||||
type: website
|
type: website
|
||||||
crossVersionUpdate: false
|
crossVersionUpdate: true
|
||||||
limit: 0
|
limit: 0
|
||||||
recommend: 0
|
recommend: 0
|
||||||
website: https://modstart.com
|
website: https://modstart.com
|
||||||
|
Loading…
Reference in New Issue
Block a user