Skip to content

Environment Variables

Name Description Required Default Value
PREDICATE_ROOT_PATH Base path to the Predicate API (example: "/api") Yes ""
PREDICATE_HOSTNAME Hostname for the Predicate service (example: "https://predicate-dev.k8s.datasapience.ru") Yes "http://localhost:8000"
PREDICATE_DB_URL Database URL for Predicate (example: "postgresql+psycopg2://postgres:postgres@predicate-postgresql:5432/postgres") Yes
PREDICATE_MANAGER_CELERY_NAME Name for the Celery manager process (example: "predicate-manager") No "predicate-manager"
PREDICATE_MANAGER_CELERY_CONFIG_PATH Path to the ConfigMap with worker settings (example: "/app/celery/manager/config.json") Yes ""
PREDICATE_MANAGER_MAX_RETRIES Maximum number of retries for the Celery manager (example: "5") No "5"
PREDICATE_MANAGER_RETRY_BACKOFF Whether to use retry backoff for the Celery manager (example: "True") No "True"
PREDICATE_MANAGER_DEFAULT_RETRY_DELAY Default retry delay for the Celery manager in seconds (example: "5") No "5"
PREDICATE_WORKER_CELERY_NAME Name for the Celery worker process (example: "predicate-worker") No "predicate-worker"
PREDICATE_WORKER_CELERY_CONFIG_PATH Path to the ConfigMap with worker settings (example: "/app/celery/worker/config.json") Yes ""
PREDICATE_WORKER_MAX_RETRIES Maximum number of retries for the Celery worker (example: "5") No "5"
PREDICATE_WORKER_RETRY_BACKOFF Whether to use retry backoff for the Celery worker (example: "True") No "True"
PREDICATE_WORKER_DEFAULT_RETRY_DELAY Default retry delay for the Celery worker in seconds (example: "5") No "5"
PREDICATE_WORKER_LOG_PATH Path to logs for the Celery worker (example: "/tmp/logs") Yes "./var/logs"
PREDICATE_WORKER_DATASOURCE_DRIVER_PWD Directory with jar files for data source connections (example: "/app/drivers") Yes "./var/drivers"
PREDICATE_WORKER_METRIC_PWD Directory with metric code (example: "/tmp/share") Yes "./var/metrics"
PREDICATE_WORKER_TRANSFORM_PWD Directory with transformation code (example: "/tmp/share") Yes "./var/transform"
PREDICATE_EXECUTOR_RESULT_DIR Directory for saving results within the project (example: "/tmp/result") Yes "./var/result"
PREDICATE_EXECUTOR_S3_TMP_DIR Temporary S3 directory for the executor (example: "/tmp/s3") Yes "./var/s3"
KEYCLOAK_URL URL for Keycloak authentication (example: "https://auth.k8s.datasapience.ru/auth") Yes
KEYCLOAK_REALM Realm for Keycloak (example: "dev") Yes
KEYCLOAK_CLIENT_ID Client ID for Keycloak (example: "kolmogorov") Yes
KEYCLOAK_ADMIN_USERNAME Administrator username for Keycloak (example: "writer") Yes
KEYCLOAK_ADMIN_PASSWORD Administrator password for Keycloak (example: "writer") Yes
PREDICATE_SENTRY_ENABLED Whether Sentry is enabled for Predicate (example: "False") No "False"
PREDICATE_SENTRY_DSN Sentry DSN for Predicate (example: "") No
PREDICATE_WORKER_SENTRY_ENABLED Whether Sentry is enabled for the Celery worker (example: "False") No "False"
PREDICATE_WORKER_SENTRY_DSN Sentry DSN for the Celery worker (example: "") No
PREDICATE_S3_URL S3 URL for Predicate (example: "https://storage.yandexcloud.net") Yes
PREDICATE_S3_ACCESS_KEY S3 access key for Predicate (example: "AccessKey") Yes
PREDICATE_S3_SECRET_ACCESS_KEY S3 secret access key for Predicate (example: "AccessSecret") Yes
PREDICATE_S3_VERIFY Whether to verify S3 SSL certificates (example: "False") No "False"
PREDICATE_S3_BUCKET S3 bucket name for Predicate (example: "predicate") Yes
PREDICATE_S3_PREFIX S3 folder name prefix for Predicate (example: "predicate-dev") No "predicate"
PREDICATE_LOCAL_STORAGE Whether to use local storage for Predicate (example: "False") No "False"
KLMG_UTILS_NOTIFICATION_SMTP Whether to enable SMTP notifications for projects (example: "False") No "False"
KLMG_UTILS_NOTIFICATION_SMTP_CONFIG_PATH Path to the ConfigMap with SMTP notification settings (example: "/app/notification/smtp.json") No
TZ Time zone for the application (example: "Europe/Moscow") Yes "Europe/Moscow"