mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
发布应用:
泡泡广场 All-in-One TOPIAM 身份管理平台 Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
@@ -0,0 +1,124 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_DB_HOST
|
||||
required: true
|
||||
type: service
|
||||
default: mysql
|
||||
edit: true
|
||||
envKey: PANEL_DB_TYPE
|
||||
labelZh: MySQL 服务 (前置检查)
|
||||
labelEn: Database Service (Pre-check)
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
- label: MySQL
|
||||
value: mysql
|
||||
- label: MariaDB
|
||||
value: mariadb
|
||||
- label: Percona
|
||||
value: percona
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_REDIS_SERVICE
|
||||
required: true
|
||||
type: service
|
||||
default: redis
|
||||
envKey: PANEL_REDIS_TYPE
|
||||
labelZh: Redis 服务 (前置检查)
|
||||
labelEn: Redis Service (Pre-check)
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
- label: Redis
|
||||
value: redis
|
||||
- default: 1898
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "admin"
|
||||
edit: true
|
||||
key: admin
|
||||
envKey: ADMIN_USERNAME
|
||||
labelZh: 管理员 用户名
|
||||
labelEn: Admin Username
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: "topiam.cn"
|
||||
edit: true
|
||||
key: ADMIN_PASSWORD
|
||||
envKey: topiam.cn
|
||||
labelZh: 管理员 密码
|
||||
labelEn: Admin Password
|
||||
required: true
|
||||
type: password
|
||||
- default: "127.0.0.1"
|
||||
edit: true
|
||||
envKey: DB_HOST
|
||||
labelZh: 数据库 主机
|
||||
labelEn: Database Host
|
||||
required: true
|
||||
type: text
|
||||
- default: 3306
|
||||
edit: true
|
||||
envKey: DB_PORT
|
||||
labelZh: 数据库 端口
|
||||
labelEn: Database Port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "topiam"
|
||||
edit: true
|
||||
envKey: DB_USER
|
||||
labelZh: 数据库 用户名
|
||||
labelEn: Database Username
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: DB_USER_PASSWORD
|
||||
labelZh: 数据库 密码
|
||||
labelEn: Database Password
|
||||
required: true
|
||||
type: password
|
||||
- default: "topiam"
|
||||
edit: true
|
||||
envKey: DB_NAME
|
||||
labelZh: 数据库 名称
|
||||
labelEn: Database Name
|
||||
required: true
|
||||
type: text
|
||||
- default: "127.0.0.1"
|
||||
edit: true
|
||||
envKey: REDIS_HOSTNAME
|
||||
labelZh: Redis 主机
|
||||
labelEn: Redis Host
|
||||
required: true
|
||||
type: text
|
||||
- default: 6379
|
||||
edit: true
|
||||
envKey: REDIS_PORT
|
||||
labelZh: Redis 端口
|
||||
labelEn: Redis Port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 0
|
||||
edit: true
|
||||
envKey: REDIS_DBINDEX
|
||||
labelZh: Redis 索引
|
||||
labelEn: Redis Index
|
||||
required: true
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: REDIS_PASSWORD
|
||||
labelZh: Redis 密码
|
||||
labelEn: Redis Password
|
||||
required: false
|
||||
type: password
|
||||
@@ -0,0 +1,30 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
topiam-ce:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/topiam/topiam-ce:2.0.0
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:1898
|
||||
env_file:
|
||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
volumes:
|
||||
- ${TOPIAM_CE_ROOT_PATH}/conf:/opt/topiam/conf
|
||||
- ${TOPIAM_CE_ROOT_PATH}/logs:/opt/topiam/logs
|
||||
environment:
|
||||
- INITIAL_PASSWORD_VALUE=ADMIN_PASSWORD
|
||||
- spring.datasource.url=jdbc:mysql://${DB_HOST}:${DB_PORT}/${DB_NAME}?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true
|
||||
- spring.datasource.username=${DB_USER}
|
||||
- spring.datasource.password=${DB_USER_PASSWORD}
|
||||
- spring.data.redis.host=${REDIS_HOSTNAME}
|
||||
- spring.data.redis.port=${REDIS_PORT}
|
||||
- spring.data.redis.password=${REDIS_PASSWORD}
|
||||
- spring.data.redis.database=${REDIS_DBINDEX}
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
chown -R 1001:1001 data/logs
|
||||
|
||||
Reference in New Issue
Block a user