# Django
DJANGO_SETTINGS_MODULE=config.settings.production
DJANGO_ADMIN_SECRET_KEY=''
DJANGO_TOKEN=django-token

# Environment
ENVIRONMENT=production
ENVIRONMENT_CLIENT=stage

# Database (PostgreSQL)
DATABASE_NAME=postgres
DATABASE_USER=postgres
DATABASE_PASSWORD=password
DATABASE_HOST=127.0.0.1
DATABASE_PORT=5432

# Sarex auth (basic)
SAREX_USERNAME=
SAREX_PASSWORD=

# External services
AERO_HOST=https://stage.sarex.io
AERO_PUBLIC_HOST=https://stage.sarex.io
BASE_AERO_URL=https://stage.sarex.io
BASE_AUTH_URL=https://stage.sarex.io
SAREX_API=https://stage.sarex.io
SAREX_HOST=https://stage.sarex.io
SERVICE_URL=https://stage.sarex.io
GATEWAY_URL=https://stage-api.sarex.io/gateway
DOCUMENTATIONS_URL=http://documentations-api-svc.documentations.svc.cluster.local:8000
WORKFLOWS_URL=http://workflows-api-service.platform.svc.cluster.local:8000
WORKFLOWS_HOST=http://workflows-api-service.platform.svc.cluster.local:8000
RESOURCES_API_HOST=http://iams.platform.svc.cluster.local:8080
REVIEW_HOST=https://stage-api.sarex.io/flows
INSPECTION_HOST=https://stage-api.sarex.io/inspections
EAV_HOST=http://eav-service.eav-stage

# RabbitMQ / Celery broker
RABBITMQ_USERNAME=mcc
RABBITMQ_PASSWORD=mcc
RABBITMQ_HOSTNAME=rabbitmq-service
RABBITMQ_VHOST=api

# Redis (Celery result backend)
REDIS_HOST=redis
REDIS_DB=0

# Kafka
KAFKA_HOST=
KAFKA_USERNAME=
KAFKA_PASSWORD=
KAFKA_SSL_CAFILE=/usr/local/share/ca-certificates/Yandex/YandexInternalRootCA.crt
KAFKA_EAV_ASSETS_TOPIC=assets-broadcast-test
KAFKA_ISSUES_TOPIC=issues-broadcast

# S3 (Yandex Cloud) — общий бакет
YC_S3_ACCESS_KEY_ID=
YC_S3_SECRET_ACCESS_KEY=
YC_S3_BUCKET_NAME=
YC_S3_ENDPOINT_URL=
YC_S3_VERIFY=true

# S3 — бакет предписаний
PRESCRIPTION_S3_ACCESS_KEY_ID=
PRESCRIPTION_S3_SECRET_ACCESS_KEY=
PRESCRIPTION_S3_BUCKET=
PRESCRIPTION_S3_ENDPOINT_URL=

# Email
ENABLE_MAILGUN=True
EMAIL_FROM=hello@sarex.io
EMAIL_DOCKER_IMAGE=cr.yandex/crp3ccidau046kdj8g9q/notification:email
MAILGUN_BASE_URL=https://api.mailgun.net/v3/mg.sarex.io
MAILGUN_API_KEY=
USE_NOTIFICATIONS=True
# SMTP (альтернатива Mailgun)
SMTP_HOST=
SMTP_PORT=

# Prescriptions workflow
PRESCRIPTION_WF_IMAGE=cr.yandex/crp3ccidau046kdj8g9q/rendering-template:develop
PRESCRIPTION_WF_RESULT_PATH=prescriptions-storage-stage
PRESCRIPTION_WF_CALLBACK=cr.yandex/crp3ccidau046kdj8g9q/webhook-caller:develop
PRESCRIPTION_INTERNAL_HOST=http://issues-backend-service.proc.svc.cluster.local:80/internal
DOCX_TO_PDF_IMAGE=cr.yandex/crp3ccidau046kdj8g9q/docx-to-pdf:latest

# Export
EXPORT_WF_CROPPING_DOCKER_IMAGE=cr.yandex/crp3ccidau046kdj8g9q/crop-issue-pin-area:stage

# OpenTelemetry
USE_OTEL=False
SERVICE_NAME=issues-backend.sarex-issues
TRACER_ENDPOINT=localhost:4375
USE_INSECURE=True
MODULE=issues
TEAM=proc_team
COMPONENT=backend

# uWSGI / infra
API_ADDRESS=8000
SENTRY_KEY=
