精简提交历史记录
This commit is contained in:
4
apps/onlyoffice/latest/.env.sample
Normal file
4
apps/onlyoffice/latest/.env.sample
Normal file
@@ -0,0 +1,4 @@
|
||||
CONTAINER_NAME="onlyoffice"
|
||||
PANEL_APP_PORT_HTTP="40156"
|
||||
DATA_PATH="./data"
|
||||
JWT_SECRET="secret"
|
||||
26
apps/onlyoffice/latest/data.yml
Normal file
26
apps/onlyoffice/latest/data.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40156
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: HTTP Port
|
||||
labelZh: HTTP 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ./data
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data folder path
|
||||
labelZh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
- default: secret
|
||||
edit: true
|
||||
envKey: JWT_SECRET
|
||||
labelEn: JWT Secret
|
||||
labelZh: JWT密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
23
apps/onlyoffice/latest/docker-compose.yml
Normal file
23
apps/onlyoffice/latest/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3'
|
||||
services:
|
||||
onlyoffice:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:80"
|
||||
volumes:
|
||||
- ${DATA_PATH}/logs:/var/log/onlyoffice
|
||||
- ${DATA_PATH}/data:/var/www/onlyoffice/Data
|
||||
- ${DATA_PATH}/lib:/var/lib/onlyoffice
|
||||
- ${DATA_PATH}/db:/var/lib/postgresql
|
||||
environment:
|
||||
- JWT_SECRET=${JWT_SECRET}
|
||||
image: onlyoffice/documentserver:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user