-
-
Notifications
You must be signed in to change notification settings - Fork 322
Expand file tree
/
Copy pathappsettings.json
More file actions
87 lines (86 loc) · 3.29 KB
/
Copy pathappsettings.json
File metadata and controls
87 lines (86 loc) · 3.29 KB
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
{
"urls": "http://*:5000",
"Logging": {
"LogLevel": {
"Default": "Information",
"System": "Warning",
"Microsoft": "Warning"
}
},
"otlp": {
"instanceId": "", // if empty, will generate a new one
"logs": {
"protocol": "http", // http grpc
"endpoint": ""
},
"traces": {
"protocol": "http", // http grpc
"endpoint": ""
},
"metrics": {
"protocol": "http", // http grpc
"endpoint": ""
}
},
"alwaysTrustSsl": true, // If true, the server will ignore SSL errors.
"serviceHealthCheckInterval": 15, // Interval for service health checks in seconds.
"serviceUnhealthInterval": 60, // Threshold in seconds after which a non-responsive service is considered unhealthy (default 60).
"removeServiceInterval": 0, // Remove a service if it has been unresponsive longer than this many seconds; <= 0 keeps the service. Default is 0.
"pathBase": "", // When using reverse proxies, set this to the base path (must start with /xxx).
"adminConsole": false,
"saPassword": "", // Password for the super administrator account.
"defaultApp": "", // Default application to create on every restart.
"cluster": false, // Cluster mode: automatically join the node list on startup, discover container IP, default port 5000 (ideal for Docker Compose).
"preview_mode": false,
"db": {
"provider": "", //sqlite,mysql,sqlserver,npgsql,oracle,mongodb
"conn": "",
"env": {
"TEST": {
"provider": "", //sqlite,mysql,sqlserver,npgsql,oracle
"conn": ""
},
"STAGING": {
"provider": "", //sqlite,mysql,sqlserver,npgsql,oracle
"conn": ""
},
"PROD": {
"provider": "", //sqlite,mysql,sqlserver,npgsql,oracle
"conn": ""
}
}
},
"JwtSetting": {
"SecurityKey": "", // Secret key for JWT tokens; configure here or via the JwtSetting:SecurityKey environment variable. If empty, the system generates one at startup and stores it in the database (for example: dfasf343453fsdfa,./,./sdfasf34r3hfhfdb).
"Issuer": "agileconfig.admin", // Token issuer.
"Audience": "agileconfig.admin", // Token audience.
"ExpireSeconds": 86400 // Token expiration time in seconds.
},
"SSO": {
"enabled": false, // Whether to enable SSO.
"loginButtonText": "", // Custom text shown on the SSO button.
"OIDC": {
"clientId": "", // Application ID.
"clientSecret": "", // Application secret.
"redirectUri": "", // Callback URL after successful authorization from the OIDC server.
"tokenEndpoint": "", // Token endpoint where the code is exchanged for a token.
"tokenEndpointAuthMethod": "client_secret_post", // Authentication method for the token endpoint: client_secret_post, client_secret_basic, or none. Default is client_secret_post.
"authorizationEndpoint": "", // OIDC server authorization URL.
"userIdClaim": "sub", // Claim key for the user ID in the ID token.
"userNameClaim": "name", // Claim key for the user name in the ID token.
"scope": "openid profile" // Requested scopes.
}
},
"SyncPlugin": {
"Enabled": true,
"Plugins": {
"etcd": {
"Enabled": "true",
"Settings": {
"endpoints": "http://localhost:2379",
"keyPrefix": "/agileconfig"
}
}
}
}
}