mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
feat:添加openlitespeed、calibre-web等十几个应用到列表 (#340)
This commit is contained in:
@@ -0,0 +1,87 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_DB_HOST
|
||||
labelEn: Database Service
|
||||
labelZh: 数据库服务
|
||||
required: true
|
||||
type: service
|
||||
default: mysql
|
||||
labelEn: Database Service
|
||||
labelZh: 数据库服务
|
||||
params:
|
||||
- envKey: YOURLS_DB_PORT
|
||||
key: mysql
|
||||
type: param
|
||||
value: "3306"
|
||||
- envKey: YOURLS_DB_PORT
|
||||
key: postgresql
|
||||
type: param
|
||||
value: "5432"
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
- label: MySQL
|
||||
value: mysql
|
||||
- default: yourls
|
||||
envKey: PANEL_DB_NAME
|
||||
labelEn: Database
|
||||
labelZh: 数据库名
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: yourls
|
||||
envKey: PANEL_DB_USER
|
||||
labelEn: User
|
||||
labelZh: 数据库用户
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: yourls
|
||||
envKey: PANEL_DB_USER_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 数据库用户密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: yourls_
|
||||
envKey: PANEL_DB_PREFIX
|
||||
labelEn: Database prefix
|
||||
labelZh: 数据库前缀
|
||||
required: true
|
||||
type: text
|
||||
- default: 40037
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: yourls
|
||||
envKey: USERNAME
|
||||
labelEn: User
|
||||
labelZh: 用户
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: yourls
|
||||
envKey: PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 用户密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: http://localhost:40037
|
||||
edit: true
|
||||
envKey: YOURLS_EXTERNAL_URL
|
||||
labelEn: External URL
|
||||
labelZh: 外部访问地址
|
||||
required: true
|
||||
type: text
|
||||
@@ -0,0 +1,27 @@
|
||||
version: '3'
|
||||
services:
|
||||
yourls:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:80"
|
||||
volumes:
|
||||
- "./data:/var/www/html"
|
||||
environment:
|
||||
- YOURLS_SITE=${YOURLS_EXTERNAL_URL}
|
||||
- YOURLS_USER=${USERNAME}
|
||||
- YOURLS_PASS=${PASSWORD}
|
||||
- YOURLS_DB_HOST=${PANEL_DB_HOST}:${YOURLS_DB_PORT}
|
||||
- YOURLS_DB_NAME=${PANEL_DB_NAME}
|
||||
- YOURLS_DB_USER=${PANEL_DB_USER}
|
||||
- YOURLS_DB_PASS=${PANEL_DB_USER_PASSWORD}
|
||||
- YOURLS_DB_PREFIX=${PANEL_DB_PREFIX}
|
||||
image: yourls:1.9.2
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user