-
Notifications
You must be signed in to change notification settings - Fork 224
/
application-dev.yml
102 lines (94 loc) · 3.39 KB
/
application-dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
spring:
mail: # 邮件配置,自行修改
host: smtp.qq.com # smtp.qq.com
username: 123@qq.com # 发送邮箱地址
password: 123 # 发送邮箱密码
output:
ansi:
enabled: always
h2:
console:
settings:
web-allow-others: true
path: /h2-console
enabled: false
datasource:
# 初始化数据导入
# data: classpath*:db/data.sql
# sql-script-encoding: utf-8
initialization-mode: always
continue-on-error: true
# h2 内存数据库 配置
driver-class-name: org.h2.Driver
url: jdbc:h2:${graph.db.path}
username: graph
password: 123456
jackson:
date-format: yyyy-MM-dd HH:mm
time-zone: GMT+8
jpa:
hibernate:
ddl-auto: update
properties:
hibernate:
format_sql: false
show-sql: false
# redis: # redis 配置
# database: 0
# host: 127.0.0.1
# port: 6379
# 程序自定义配置
graph:
cache:
token: default # token 缓存方式默认内存,redis 方式 需要配置 redis
timeout: # 缓存超时时间 单位分钟
user: 60 # 默认一小时
license: 1440 # 默认一天
domain: 1440 # 默认一天
db:
path: ${user.home}/.graph/db/graph
# 后台登陆配置
userName: root # 登陆账户,自行修改
password: 123456 # 登陆密码,自行修改
# 邀请注册配置
invite: mjj,mjj2 # 可以被注册的账号类型,为下面 configs.appName 的配置(必填,','分隔)
inviteSub: # 为空表示全部
inviteDomain: # 为空表示使用默认域名,格式:xxx.onmicrosoft.com
usageLocation: HK,US #(此处会针对上面的配置覆盖)可选择的地区,用','分隔,首个将成为默认值,为空表示只使用HK(可以为空)
# api配置
configs:
- appName: mjj # 自定义该账号的类型(建议使用英文:默认域名前缀,必填)
appId: mjj # 应用程序(客户端) ID client(必填)
appTenant: mjj # 目录(租户) tenant(必填)
appSecret: mjj # secrets(必填)
admin: mjj # 全局管理员账号(可以为空)
usageLocation: HK,US #(此处会针对上面的配置覆盖)可选择的地区,用','分隔,首个将成为默认值,为空表示只使用HK(可以为空)
- appName: mjj2 # 账号2配置,如果不需要请删除
appId: mjj2
appTenant: mjj2
appSecret: mjj2
domain: mjj2
admin: mjj2
usageLocation: US #(此处会针对上面的配置覆盖)可选择的地区,用','分隔,首个将成为默认值,为空表示只使用HK(可以为空)
subscribed: # 订阅类型,自行添加其他
- skuName: STANDARDWOFFPACK_STUDENT
displayName: A1 学生版
skuId: 314c4481-f395-4525-be8b-2ec4bb1e9d91
- skuName: STANDARDWOFFPACK_FACULTY
displayName: A1 教师版
skuId: 94763226-9b3c-4e75-a931-5c89701abe66
- skuName: OFFICE_365_A1_PLUS_FOR_STUDENT
displayName: A1P 学生版
skuId: e82ae690-a2d5-4d76-8d30-7c6e01e6022e
- skuName: OFFICE_365_A1_PLUS_FOR_FACULTY
displayName: A1P 教师版
skuId: 78e66a63-337a-4a9a-8959-41c6654dfb56
- skuName: M365EDU_A3_STUUSEBNFT_RPA1
displayName: A3 无人值守版
skuId: 1aa94593-ca12-4254-a738-81a5972958e8
- skuName: Office_365_E3Y
displayName: E3Y
skuId: 6fd2c87f-b296-42f0-b197-1e91e994b900
- skuName: DEVELOPERPACK_E5
displayName: E5 开发者订阅
skuId: c42b9cae-ea4f-4ab7-9717-81576235ccac