Configuration¶
Configuration options can be also provided as environmental variables.
-
renga_deployer.config.DEPLOYER_APP_NAME= 'demo-client'¶ Application name.
-
renga_deployer.config.DEPLOYER_AUTHORIZATION_URL= 'http://localhost:8080/auth/realms/Renga/protocol/openid-connect/auth'¶ OpenID-Connect authorization endpoint.
-
renga_deployer.config.DEPLOYER_BASE_PATH= '/v1'¶ Base path for the API.
-
renga_deployer.config.DEPLOYER_BASE_TEMPLATE= 'renga_deployer/base.html'¶ Default base template for the demo page.
-
renga_deployer.config.DEPLOYER_CLIENT_ID= 'demo-client'¶ Client identifier used for OIDC authentication.
-
renga_deployer.config.DEPLOYER_CLIENT_SECRET= None¶ Client credentials used for OIDC authentication.
-
renga_deployer.config.DEPLOYER_DEFAULT_BASE_URL= '/'¶ The default base url that is passed inside the deployed container via the DEPLOYER_BASE_URL environment variable. If an ingress is enabled in a K8S deployer, this variable is changed dynamically per execution.
-
renga_deployer.config.DEPLOYER_DEFAULT_VALUE= 'foobar'¶ Default value for the application.
-
renga_deployer.config.DEPLOYER_DOCKER_CONTAINER_IP= None¶ Specific IP for docker-deployed containers.
-
renga_deployer.config.DEPLOYER_JWT_ISSUER= 'http://localhost:8080/auth/realms/Renga'¶ JWT issuer used for token verification.
-
renga_deployer.config.DEPLOYER_JWT_KEY= None¶ Public key used to verify JWT tokens.
-
renga_deployer.config.DEPLOYER_K8S_CONTAINER_IP= None¶ Specific IP for kubernetes-deployed containers.
-
renga_deployer.config.DEPLOYER_K8S_INGRESS= None¶ The class of the ingress controller, for example ‘nginx’, to be used for the endpoints. Set to None (default) or False to disable ingress
-
renga_deployer.config.DEPLOYER_SWAGGER_UI= False¶ Enable Swagger UI.
-
renga_deployer.config.DEPLOYER_TOKEN_SCOPE_KEY= None¶ Key inside JWT containing scopes.
Use ‘https://rm.datascience.ch/scope’ in combination with resource manager.
-
renga_deployer.config.DEPLOYER_TOKEN_URL= 'http://localhost:8080/auth/realms/Renga/protocol/openid-connect/token'¶ OpenID-Connect token endpoint.
-
renga_deployer.config.DEPLOYER_URL= 'http://localhost:5000'¶ Base URL for the service.
-
renga_deployer.config.KNOWLEDGE_GRAPH_URL= None¶ Push contexts and executions to the KnowledgeGraph.
-
renga_deployer.config.RENGA_AUTHORIZATION_CLIENT_ID= None¶ Client id for fetching the service access token.
-
renga_deployer.config.RENGA_AUTHORIZATION_CLIENT_SECRET= None¶ Client secret for fetching the service access token.
-
renga_deployer.config.RENGA_ENDPOINT= 'http://localhost'¶ URL for other platform services.
-
renga_deployer.config.RENGA_LOGGING_CONFIG= None¶ Logging configuration file path.
-
renga_deployer.config.RESOURCE_MANAGER_URL= None¶ Obtain and validate ResourceManager authorization tokens.
-
renga_deployer.config.SENTRY_DSN= None¶ The default Sentry environment variable key.
-
renga_deployer.config.SQLALCHEMY_DATABASE_URI= 'sqlite:///deployer.db'¶ The URI of the database to be used for preserving internal state.
-
renga_deployer.config.SQLALCHEMY_TRACK_MODIFICATIONS= False¶ Should Flask-SQLAlchemy will track modifications of objects.
-
renga_deployer.config.WSGI_NUM_PROXIES= None¶ The number of proxy servers in front of the app.
Disable proxy fixer by setting value evaluating to
False.