1
0

Update app version [skip ci]

This commit is contained in:
github-action update-app-version
2024-05-19 12:11:34 +00:00
parent 07d722f203
commit e1789e036e
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
CONTAINER_NAME="libreoffice"
PANEL_APP_PORT_HTTP="40136"
PANEL_APP_PORT_HTTPS="40137"
DATA_PATH="./data"
TIME_ZONE="Asia/Shanghai"
HTTP_USER="user"
HTTP_PWD="password"

View File

@@ -0,0 +1,48 @@
additionalProperties:
formFields:
- default: 40136
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: HTTP Port
labelZh: HTTP端口
required: true
rule: paramPort
type: number
- default: 40137
edit: true
envKey: PANEL_APP_PORT_HTTPS
labelEn: HTTPS Port
labelZh: HTTPS端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: Asia/Shanghai
edit: true
envKey: TIME_ZONE
labelEn: Time zone
labelZh: 时区
required: true
type: text
- default: user
edit: true
envKey: HTTP_USER
labelEn: http auth user
labelZh: HTTP 用户
required: true
type: text
- default: password
edit: true
envKey: HTTP_PWD
labelEn: http auth password
labelZh: HTTP 密码
random: true
required: true
rule: paramComplexity
type: password

View File

@@ -0,0 +1,27 @@
version: '3'
services:
libreoffice:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:3000"
- "${PANEL_APP_PORT_HTTPS}:3001"
volumes:
- "${DATA_PATH}:/config"
environment:
- PUID=1000
- PGID=1000
- TZ=${TIME_ZONE}
- CUSTOM_USER=${HTTP_USER}
- PASSWORD=${HTTP_PWD}
#security_opt:
# - seccomp:unconfined #optional
image: linuxserver/libreoffice:7.6.7
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true