update config documentation
This commit is contained in:
parent
e80b0671c2
commit
ff26485c93
@ -26,29 +26,29 @@
|
|||||||
- `name`: Name of the database the server should expect. Default `aime`
|
- `name`: Name of the database the server should expect. Default `aime`
|
||||||
- `port`: Port the database server is listening on. Default `3306`
|
- `port`: Port the database server is listening on. Default `3306`
|
||||||
- `protocol`: Protocol used in the connection string, e.i `mysql` would result in `mysql://...`. Default `mysql`
|
- `protocol`: Protocol used in the connection string, e.i `mysql` would result in `mysql://...`. Default `mysql`
|
||||||
- `sha2_password`: Weather or not the password in the connection string should be hashed via SHA2. Default `False`
|
- `sha2_password`: Whether or not the password in the connection string should be hashed via SHA2. Default `False`
|
||||||
- `loglevel`: Logging level for the database. Default `info`
|
- `loglevel`: Logging level for the database. Default `info`
|
||||||
- `memcached_host`: Host of the memcached server. Default `localhost`
|
- `memcached_host`: Host of the memcached server. Default `localhost`
|
||||||
## Frontend
|
## Frontend
|
||||||
- `enable`: Weather or not the frontend should run. Default `False`
|
- `enable`: Whether or not the frontend servlet should run. Frontend can still be run via `python -m uvicorn core.frontend:app` even if this is set to `False`. Default `False`
|
||||||
- `port`: Port the frontend should listen on. Default `8080`
|
- `port`: Port the frontend should listen on. Default `8080`
|
||||||
- `loglevel`: Logging level for the frontend server. Default `info`
|
- `loglevel`: Logging level for the frontend server. Default `info`
|
||||||
- `secret`: Base64-encoded JWT secret for session cookies, generated by you. Default `""`
|
- `secret`: Base64-encoded JWT secret for session cookies, generated by you. Default `""`
|
||||||
## Allnet
|
## Allnet
|
||||||
- `standalone`: Weather allnet should be launched as a standalone service on it's own port.
|
- `standalone`: Whether allnet should launch it's own servlet on it's own port, or be part of the main servlet on the default port. Disable if you either have something proxying `naominet.jp` requests to port 80, or have port 80 set in `server` -> `port`
|
||||||
- `port`: Port the billing server should listen for connections on. Games are hardcoded to ask for port `80` so only change if you have a proxy redirecting properly. Default `80`
|
- `port`: Port the allnet server should listen for connections on if it's running standalone. Games are hardcoded to ask for port `80` so only change if you have a proxy redirecting properly. Ignored if `standalone` is `False`. Default `80`
|
||||||
- `loglevel`: Logging level for the allnet server. Default `info`
|
- `loglevel`: Logging level for the allnet server. Default `info`
|
||||||
- `allow_online_updates`: Allow allnet to distribute online updates via DownloadOrders. This system is currently non-functional, so leave it disabled. Default `False`
|
- `allow_online_updates`: Allow allnet to distribute online updates via DownloadOrders. This system is currently non-functional, so leave it disabled. Default `False`
|
||||||
- `update_cfg_folder`: Folder where delivery INI files will be checked for. Ignored if `allow_online_updates` is `False`. Default `""`
|
- `update_cfg_folder`: Folder where delivery INI files will be checked for. Ignored if `allow_online_updates` is `False`. Default `""`
|
||||||
## Billing
|
## Billing
|
||||||
- `standalone`: Weather or not the billing server should be launched as a standalone service on it's own port. Setting this to `True` requires that you have `ssl_key` and `ssl_cert` set. Default `False`
|
- `standalone`: Whether the billing server should launch it's own servlet on it's own port, or be part of the main servlet on the default port. Setting this to `True` requires that you have `ssl_key` and `ssl_cert` set. Default `False`
|
||||||
- `loglevel`: Logging level for the billing server. Default `info`
|
- `loglevel`: Logging level for the billing server. Default `info`
|
||||||
- `port`: Port the billing server should listen for connections on. Games are hardcoded to ask for port `8443` so only change if you have a proxy redirecting properly. Ignored if `standalone` is `False`. Default `8443`
|
- `port`: Port the billing server should listen for connections on. Games are hardcoded to ask for port `8443` so only change if you have a proxy redirecting properly. Ignored if `standalone` is `False`. Default `8443`
|
||||||
- `ssl_key`: Location of the ssl server key for the billing server. Ignored if `standalone` is `False`. Default `cert/server.key`
|
- `ssl_key`: Location of the ssl server key for the billing server. Ignored if `standalone` is `False`. Default `cert/server.key`
|
||||||
- `ssl_cert`: Location of the ssl server certificate for the billing server. Ignored if `standalone` is `False`. Must match the CA distributed to users or the billing server will not connect. Default `cert/server.pem`
|
- `ssl_cert`: Location of the ssl server certificate for the billing server. Ignored if `standalone` is `False`. Must match the CA distributed to users or the billing server will not connect. Default `cert/server.pem`
|
||||||
- `signing_key`: Location of the RSA Private key used to sign billing requests. Must match the public key distributed to users or the billing server will not connect. Default `cert/billing.key`
|
- `signing_key`: Location of the RSA Private key used to sign billing requests. Must match the public key distributed to users or the billing server will not connect. Default `cert/billing.key`
|
||||||
## Aimedb
|
## Aimedb
|
||||||
- `enable`: Weather or not aimedb should run. Default `True`
|
- `enable`: Whether or not aimedb should run. Default `True`
|
||||||
- `loglevel`: Logging level for the aimedb server. Default `info`
|
- `loglevel`: Logging level for the aimedb server. Default `info`
|
||||||
- `port`: Port the aimedb server should listen for connections on. Games are hardcoded to ask for port `22345` so only change if you have a proxy redirecting properly. Default `22345`
|
- `port`: Port the aimedb server should listen for connections on. Games are hardcoded to ask for port `22345` so only change if you have a proxy redirecting properly. Default `22345`
|
||||||
- `key`: Key to encrypt/decrypt aimedb requests and responses. MUST be set or the server will not start. If set incorrectly, your server will not properly handle aimedb requests. Default `""`
|
- `key`: Key to encrypt/decrypt aimedb requests and responses. MUST be set or the server will not start. If set incorrectly, your server will not properly handle aimedb requests. Default `""`
|
||||||
|
Loading…
Reference in New Issue
Block a user