forked from nsfcac/slurm-rest-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
19 lines (19 loc) · 1.37 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
system:
use_acct_db: True # Use the account database. If this is disabled, related routes will 404
# use_cors: False # Use CORS for hosting and serving locally
# debug: False # Add flask debugging, JSON will be formatted to be human readable
# serve_index: True # Serve a homepage via flask, should only be used for developing
# archive_usage_load: True # Log the load statistics
# archive_wait_time: 60 # Time to wait between log entries (in seconds), also sets the default time to retrieve load to value so it returns 1 item by default
# archive_path: 'db.json' # Path to store db, creates a json file
database:
db_host: 127.0.0.1 # Host address of account database, if it is localhost, replace with 127.0.0.1
db_user: slurm # Username to access database
db_pass: password # Password
db_name: slurmdb # Name of database
table_assoc: genesis_assoc_table # Schema name of slurm assoc table
table_job: genesis_job_table # Schema name of slurm job table
#filter: # Filter out results that should not be visible with the api
# partitions: # Filter partitions by name
# - secret
# - confidential