fix: update demo database and app.ini; enhance: migration

This commit is contained in:
Jacky 2024-10-23 11:48:41 +08:00
parent f8e17dc7e4
commit 925e61abf4
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
8 changed files with 85 additions and 15 deletions

View file

@ -1,19 +1,77 @@
[server]
HttpPort = 9000
RunMode = release
[app]
PageSize = 10
JwtSecret = 6EEB622E-5C73-4082-AF76-7BAC337772F2
Email = test@jackyu.cn
HTTPChallengePort = 9180
StartCmd = bash
NodeSecret = 57D079F2-CA8B-412A-B5C0-FDA291C13391
Demo = true
[server]
Host =
Port = 9000
RunMode = release
[database]
Name = database
[auth]
IPWhiteList =
BanThresholdMinutes = 10
MaxAttempts = 10
[casdoor]
Endpoint =
ClientId =
ClientSecret =
CertificatePath =
Organization =
Application =
RedirectUri =
[cert]
Email = test@jackyu.cn
CADir = https://acme-staging-v02.api.letsencrypt.org/directory
RenewalInterval = 0
RecursiveNameservers =
HTTPChallengePort = 9180
[cluster]
Node =
[crypto]
Secret = 4a82fe17c5aab629007462b303c367d2863b7db28b95c8f869f2f815672d41d8
[http]
GithubProxy =
InsecureSkipVerify = false
[logrotate]
Enabled = false
CMD = logrotate /etc/logrotate.d/nginx
Interval = 0
[nginx]
AccessLogPath =
ErrorLogPath =
AccessLogPath =
ErrorLogPath =
LogDirWhiteList = /var/log/nginx
ConfigDir =
PIDPath =
TestConfigCmd =
ReloadCmd =
RestartCmd =
[node]
Name =
Secret = 57D079F2-CA8B-412A-B5C0-FDA291C13391
SkipInstallation = false
Demo = true
[openai]
Model = gpt-3.5-turbo
BaseUrl =
Proxy =
Token =
Proxy =
Model = gpt-3.5-turbo
[terminal]
StartCmd = bash
[webauthn]
RPDisplayName =
RPID =
RPOrigins =

Binary file not shown.