sls-py-api
configuration#
Non-docker#
sls-py-api
is configured with a config.ini
file. An example file is available at
the root of the project.
Section |
Entry |
description |
example |
---|---|---|---|
|
|
The API url, accessible for virtuoso. Set this value if |
|
|
|
Path of the |
|
|
|
Log level, |
|
|
|
Method used to download a graph. Can be |
|
|
|
Method used to upload a graph. Can be |
|
|
|
Chunk size if |
|
|
|
Path to the |
|
|
|
Virtuoso host |
|
|
|
Virtuoso isql port |
|
|
|
Virtuoso user |
|
|
|
Virtuoso password |
|
|
|
CORS configuration. See CORS documentation |
|
|
|
CORS configuration. See CORS documentation |
|
|
|
CORS configuration. See CORS documentation |
|
|
|
CORS configuration. See CORS documentation |
|
|
|
Batch size if |
|
Docker#
If sls-py-api
is installed with docker, the configuration is handled via environment variables.
All properties defined in the
config.ini
can be configured with environment variables. Variables must have a format like
$SECTION_$KEY=$VALUE
and must be uppercased. For example, MAIN_API_URL_FOR_VIRTUOSO=http://toto.com
will be equivalent as the following ini:
[main]
api_url_for_virtuoso = http://toto.com