精简提交历史记录
This commit is contained in:
22
apps/ais-ninja/latest/.env.sample
Normal file
22
apps/ais-ninja/latest/.env.sample
Normal file
@@ -0,0 +1,22 @@
|
||||
AIS_DB_PORT="3306"
|
||||
AIS_PLATFORM="mysql"
|
||||
ALI_ACCESS_ID=""
|
||||
ALI_ACCESS_SECRET=""
|
||||
ALI_SMS_PERMIT=""
|
||||
ALI_SMS_SIGN=""
|
||||
ALI_SMS_TEMPLATE=""
|
||||
CONTAINER_NAME="ais-ninja"
|
||||
EMAIL_SENDER=""
|
||||
GOOGLE_CLIENT_ID=""
|
||||
PANEL_APP_PORT_HTTP="40043"
|
||||
PANEL_DB_HOST="mysql"
|
||||
PANEL_DB_NAME="ais-ninja_Nk3BFS"
|
||||
PANEL_DB_USER="ais-ninja_XpfeJ6"
|
||||
PANEL_DB_USER_PASSWORD="ais-ninja_ZECQzW"
|
||||
REDIS_HOST="redis"
|
||||
REDIS_PASS="REDIS_PASSWORD"
|
||||
REDIS_PORT=6379
|
||||
SMTP_HOST=""
|
||||
SMTP_PASSWORD=""
|
||||
SMTP_PORT="587"
|
||||
SMTP_USER=""
|
||||
163
apps/ais-ninja/latest/data.yml
Normal file
163
apps/ais-ninja/latest/data.yml
Normal file
@@ -0,0 +1,163 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_DB_HOST
|
||||
labelEn: Database Service
|
||||
labelZh: 数据库服务
|
||||
required: true
|
||||
type: service
|
||||
default: mysql
|
||||
envKey: AIS_PLATFORM
|
||||
labelEn: Database Service
|
||||
labelZh: 数据库服务
|
||||
params:
|
||||
- envKey: AIS_DB_PORT
|
||||
key: mysql
|
||||
type: param
|
||||
value: "3306"
|
||||
- envKey: AIS_DB_PORT
|
||||
key: postgresql
|
||||
type: param
|
||||
value: "5432"
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
- label: MySQL
|
||||
value: mysql
|
||||
- default: ais-ninja
|
||||
envKey: PANEL_DB_NAME
|
||||
labelEn: Database
|
||||
labelZh: 数据库名
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: ais-ninja
|
||||
envKey: PANEL_DB_USER
|
||||
labelEn: User
|
||||
labelZh: 数据库用户
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: ais-ninja
|
||||
envKey: PANEL_DB_USER_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 数据库用户密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: REDIS_HOST
|
||||
key: redis
|
||||
labelEn: Redis Service
|
||||
labelZh: Redis服务
|
||||
required: true
|
||||
type: service
|
||||
- default: "6379"
|
||||
edit: true
|
||||
envKey: REDIS_PORT
|
||||
labelEn: Redis Service Port
|
||||
labelZh: Redis服务端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: REDIS_PASS
|
||||
labelEn: Redis Service Password
|
||||
labelZh: Redis服务密码
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: password
|
||||
- default: 40043
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: SMTP_HOST
|
||||
labelEn: SMTP HOST
|
||||
labelZh: SMTP 主机
|
||||
required: false
|
||||
rule: paramExtUrl
|
||||
type: text
|
||||
- default: "587"
|
||||
edit: true
|
||||
envKey: SMTP_PORT
|
||||
labelEn: SMTP Port
|
||||
labelZh: SMTP 端口
|
||||
required: false
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: EMAIL_SENDER
|
||||
labelEn: Email service sender email address
|
||||
labelZh: 邮箱服务发送方邮箱地址
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: SMTP_USER
|
||||
labelEn: Email service user name
|
||||
labelZh: 邮箱服务用户名
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: SMTP_PASSWORD
|
||||
labelEn: Email service password
|
||||
labelZh: 邮箱服务密码
|
||||
required: false
|
||||
rule: paramCommon
|
||||
type: password
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: GOOGLE_CLIENT_ID
|
||||
labelEn: Google login client_id
|
||||
labelZh: 谷歌登录的client_id
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: ALI_ACCESS_ID
|
||||
labelEn: Alibaba Cloud accessKey ID
|
||||
labelZh: 阿里云accessKey ID
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: ALI_ACCESS_SECRET
|
||||
labelEn: Alibaba Cloud accessKeySecret
|
||||
labelZh: 阿里云 accessKeySecret
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: ALI_SMS_PERMIT
|
||||
labelEn: Enable mobile sign-in registration (true or false)
|
||||
labelZh: 启用手机登录注册(true or false)
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: ALI_SMS_SIGN
|
||||
labelEn: Alibaba Cloud SMS verification code service signature
|
||||
labelZh: 阿里云短信验证码服务签名
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: ALI_SMS_TEMPLATE
|
||||
labelEn: Alibaba Cloud verification code SMS template, which must include {code}
|
||||
labelZh: 阿里云验证码短信模板,需要包含 {code}
|
||||
required: false
|
||||
type: text
|
||||
35
apps/ais-ninja/latest/docker-compose.yml
Normal file
35
apps/ais-ninja/latest/docker-compose.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
version: '3'
|
||||
services:
|
||||
ais-ninja:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:80"
|
||||
environment:
|
||||
DATABASE_NAME: ${PANEL_DB_NAME}
|
||||
DATABASE_PORT: ${AIS_DB_PORT}
|
||||
DATABASE_HOST: ${PANEL_DB_HOST}
|
||||
DATABASE_USER: ${PANEL_DB_USER}
|
||||
DATABASE_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
||||
DATABASE_SYNC: 'true'
|
||||
REDIS_URL: redis://:${REDIS_PASS}@${REDIS_HOST}:${REDIS_PORT}/0
|
||||
EMAIL_HOST: ${SMTP_HOST}
|
||||
EMAIL_PORT: ${SMTP_PORT}
|
||||
EMAIL_FROM: ${EMAIL_SENDER}
|
||||
EMAIL_AUTH_USER: ${SMTP_USER}
|
||||
EMAIL_AUTH_PASS: ${SMTP_PASSWORD}
|
||||
SOCIAL_GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID}
|
||||
ALI_ACCESS_KEY_ID: ${ALI_ACCESS_ID}
|
||||
ALI_ACCESS_KEY_SECRET: ${ALI_ACCESS_SECRET}
|
||||
ALI_SMS_ENABLE: ${ALI_SMS_PERMIT}
|
||||
ALI_SMS_SIGN_NAME: ${ALI_SMS_SIGN}
|
||||
ALI_SMS_TEMPLATE_CODE: ${ALI_SMS_TEMPLATE}
|
||||
image: jarvis2f/ais-ninja:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user