-
Notifications
You must be signed in to change notification settings - Fork 35
feat: add admin system #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
yiweichi
merged 11 commits into
feat-deterministic-deployment
from
feat-add-admin-system
Sep 18, 2024
Merged
Changes from 2 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
4e03320
feat: generate admin system backend config
yiweichi 6c9202f
fix: gen config dockerfile
yiweichi 022419e
fix: alphabetical order of imports
yiweichi 051a810
Merge branch 'feat-deterministic-deployment' into feat-add-admin-system
yiweichi 7fdf35d
Merge branch 'feat-deterministic-deployment' into feat-add-admin-system
yiweichi f3e34c2
fix: remove dsn from admin system config
yiweichi cd31819
fix: test
yiweichi 804c974
update config file
yiweichi 5b4cabd
update config file
yiweichi ed81228
update admin system config
yiweichi 34d1394
fix: update frontend config
yiweichi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| { | ||
| "db_config": { | ||
| "driver_name": "postgres", | ||
| "dsn": null, | ||
| "max_open_connections": 200, | ||
| "max_idel_connections": 20 | ||
| }, | ||
| "read_only_db_config": { | ||
| "driver_name": "postgres", | ||
| "dsn": null, | ||
| "max_open_connections": 200, | ||
| "max_idel_connections": 20 | ||
| }, | ||
| "db_mappings": { | ||
| "default": "read_only", | ||
| "batch_chunk": "read_only", | ||
| "prover_block_list": "read_write" | ||
| }, | ||
| "auth_db_config": { | ||
| "driver_name": "postgres", | ||
| "dsn": null, | ||
| "max_open_connections": 200, | ||
| "max_idel_connections": 20 | ||
| }, | ||
| "authentication": { | ||
| "jwt": { | ||
| "secret": "scroll admin system secret key", | ||
| "token_expire_seconds": 3600 | ||
| }, | ||
| "ldap": { | ||
| "endpoint": "ldap://xxx.xxx.com:389", | ||
| "bind_dn": "", | ||
| "bind_password": "", | ||
| "search_base_dn_list": [""], | ||
| "search_filter": "(mail=%s)" | ||
| }, | ||
| "otp": { | ||
| "issuer": "ScrollAdmin(Dev)", | ||
| "enabled": false | ||
| } | ||
| }, | ||
| "authorization": { | ||
| "casbin": { | ||
| "model_path": "conf/model.conf", | ||
| "policy_path": "conf/policy.csv" | ||
| } | ||
| }, | ||
| "prometheus": { | ||
| "endpoint": "https://xxx.xxx.com/prometheus", | ||
| "user": "", | ||
| "password": "" | ||
| }, | ||
| "admin": { | ||
| "prover_becomes_offline_since_last_get_task_seconds": 3600, | ||
| "prover_becomes_idle_since_last_task_assigned_seconds": 1800 | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.