feat: add enabled/disabled field to environment model #169

This commit is contained in:
Jacky 2024-05-07 16:31:47 +08:00
parent cc5d2be1bd
commit b429c15893
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
17 changed files with 250 additions and 240 deletions

View file

@ -1,47 +1,50 @@
[server]
HttpPort = 9000
RunMode = debug
JwtSecret =
Email =
JwtSecret =
Email =
HTTPChallengePort = 9180
StartCmd = bash
Database = database
CADir =
GithubProxy =
NodeSecret =
CADir =
GithubProxy =
NodeSecret =
Demo = false
PageSize = 10
HttpHost = 0.0.0.0
CertRenewalInterval = 7
RecursiveNameservers =
RecursiveNameservers =
SkipInstallation = false
Name =
Name =
[nginx]
AccessLogPath = /var/log/nginx/access.log
ErrorLogPath = /var/log/nginx/error.log
ConfigDir =
PIDPath =
TestConfigCmd =
ReloadCmd =
RestartCmd =
ConfigDir =
PIDPath =
TestConfigCmd =
ReloadCmd =
RestartCmd =
[openai]
Model =
BaseUrl =
Proxy =
Token =
Model =
BaseUrl =
Proxy =
Token =
[casdoor]
Endpoint =
ClientId =
ClientSecret =
Certificate =
Organization =
Application =
RedirectUri =
Endpoint =
ClientId =
ClientSecret =
Certificate =
Organization =
Application =
RedirectUri =
[logrotate]
Enabled = false
CMD = logrotate /etc/logrotate.d/nginx
Interval = 1440
[cluster]
Node =