... | ... | @@ -32,20 +32,15 @@ In order to configure the asset-manager open and edit the |
|
|
*.env* file in the root directory.
|
|
|
|
|
|
* `APP_PORT` - port of the asset-manager
|
|
|
|
|
|
* `SWAGGER_DOC_USE` - flag whether Swagger Doc is available via http://localhost:3132/doc/swagger
|
|
|
* `SWAGGER_UI_USE` - flag whether Swagger UI is available via http://localhost:3132
|
|
|
|
|
|
* `REVERSE_PROXY_USE` - flag whether the asset-manager is available via reverse-proxy
|
|
|
* `REVERSE_PROXY_PROT` - protocol of the reverse-proxy
|
|
|
* `REVERSE_PROXY_HOST` - host of the reverse-proxy
|
|
|
* `REVERSE_PROXY_PORT` - port of the reverse-proxy
|
|
|
* `REVERSE_PROXY_BASE` - base url of the reverse-proxy
|
|
|
|
|
|
* `AUTH_USER_ENUM_ROLES` - list of all enumerated roles
|
|
|
|
|
|
* `API_REST_DEPRECATED_USE` - flag whether use asset model 'resources' or 'items' (deprecated)
|
|
|
|
|
|
* `AUTH_{{API}}_USE` - flag whether each POST, PUT and DELETE request needs authentication (for each data model / API)
|
|
|
* `AUTH_{{API}}_PROT` - protocol of the authentication api
|
|
|
* `AUTH_{{API}}_HOST` - host of the authentication api
|
... | ... | @@ -53,14 +48,12 @@ In order to configure the asset-manager open and edit the |
|
|
* `AUTH_{{API}}_BASE` - base url of the authentication api
|
|
|
* `AUTH_{{API}}_TTL` - time to live of the token (in seconds)
|
|
|
* `AUTH_{{API}}_MIN_ROLE` - minimal role for authorized access (need to match one of the enumerated role in `AUTH_USER_ENUM_ROLES`)
|
|
|
|
|
|
* `DB_SINGLE_USE` - flag whether a single database is used for the asset-manager (all data models can be stored in a single database in different collections)
|
|
|
* `DB_SINGLE_HOST` - host of the database
|
|
|
* `DB_SINGLE_PORT` - port of the database
|
|
|
* `DB_SINGLE_NAME` - name of the database
|
|
|
* `DB_SINGLE_USER` - username to authenticate
|
|
|
* `DB_SINGLE_PASS` - password to authenticate
|
|
|
|
|
|
* `DB_{{data model}}_HOST` - host of the database (for each data model if no single database in use)
|
|
|
* `DB_{{data model}}_PORT` - port of the database (for each data model if no single database in use)
|
|
|
* `DB_{{data model}}_NAME` - name of the database (for each data model if no single database in use)
|
... | ... | |