mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
refactor: 统一数据持久化目录
This commit is contained in:
@@ -62,13 +62,6 @@ additionalProperties:
|
||||
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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
version: "3"
|
||||
version: '3'
|
||||
services:
|
||||
flarum:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
@@ -8,7 +8,7 @@ services:
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8000"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/data"
|
||||
- ./data:/data
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- PUID=1000
|
||||
@@ -30,7 +30,7 @@ services:
|
||||
- FLARUM_BASE_URL=${FLARUM_EXTERNAL_URL}
|
||||
image: crazymax/flarum:1.8.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user