精简提交历史记录
This commit is contained in:
3
apps/nvpress/latest/.env.sample
Normal file
3
apps/nvpress/latest/.env.sample
Normal file
@@ -0,0 +1,3 @@
|
||||
CONTAINER_NAME="nvpress"
|
||||
PANEL_APP_PORT_HTTP="40148"
|
||||
DATA_PATH="./data"
|
||||
17
apps/nvpress/latest/data.yml
Normal file
17
apps/nvpress/latest/data.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40148
|
||||
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 folder path
|
||||
labelZh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
20
apps/nvpress/latest/docker-compose.yml
Normal file
20
apps/nvpress/latest/docker-compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
version: '3'
|
||||
services:
|
||||
nvpress:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8081"
|
||||
volumes:
|
||||
- "${DATA_PATH}/nv-content:/usr/src/app/nv-content"
|
||||
- "${DATA_PATH}/nv-themes:/usr/src/app/nv-themes"
|
||||
- "${DATA_PATH}/nv-plugins:/usr/src/app/nv-plugins"
|
||||
image: pandastd/nvpress:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user