# Django
DJANGO_SETTINGS_MODULE=config.settings.production
DJANGO_DEBUG=False
DJANGO_SECRET_KEY='v628rpgi^!!57jq9y7y3^by04c1bc@#6%0_a(ekxfmyat8gxew'

# App
SERVICE_NAME=eav
VERSION=1.0.0

# Database (PostgreSQL) — читается только в config.settings.production
DJANGO_POSTGRES_HOST=127.0.0.1
DJANGO_POSTGRES_PORT=6432
DJANGO_POSTGRES_DATABASE=eav_db
DJANGO_POSTGRES_USER=sarex
DJANGO_POSTGRES_PASSWORD=password

# Auth / JWT (RS512) — обязательны в config.settings.production
SIMPLE_JWT_ISSUER=django
# Replace newlines with \n
JWT_PRIVATE_KEY=''
JWT_PUBLIC_KEY=''

# S3 (Yandex Object Storage, бото3)
YC_S3_ACCESS_KEY_ID=
YC_S3_SECRET_ACCESS_KEY=
YC_S3_BUCKET_NAME=eav
YC_S3_ENDPOINT_URL=https://storage.yandexcloud.net

# Kafka
KAFKA_ENABLED=True
KAFKA_HOST=
KAFKA_USERNAME=platform
KAFKA_PASSWORD=
KAFKA_SSL_CAFILE=/usr/local/share/ca-certificates/Yandex/YandexInternalRootCA.crt
SASL_MECHANISM=SCRAM-SHA-512
SECURITY_PROTOCOL=SASL_SSL
ASSETS_TOPIC=assets_broadcast_test

# Kafka topics (события EAV)
KAFKA_TOPIC_ATTRIBUTE_CREATED=eav.attribute.created.v1
KAFKA_TOPIC_ATTRIBUTE_UPDATED=eav.attribute.updated.v1
KAFKA_TOPIC_ATTRIBUTE_DELETED=eav.attribute.deleted.v1
KAFKA_TOPIC_VALUE_OPTION_CREATED=eav.value_option.created.v1
KAFKA_TOPIC_VALUE_OPTION_DELETED=eav.value_option.deleted.v1

# OpenTelemetry (трейсинг включается только если USE_OTEL задана)
USE_OTEL=False
SERVICE_NAME=eav.eav-backend
TRACER_ENDPOINT=localhost:4375
USE_INSECURE=False
ENVIRONMENT=prod
MODULE=eav
TEAM=platform_team
COMPONENT=backend
