1
0
Fork 0
mirror of https://github.com/EDeev/api_processor.git synced 2026-10-07 20:49:34 +03:00
api_processor/.env.example
Egor Deev 479e0c96ad Тесты, CI, Docker с моделью Vosk и FFmpeg, лицензия MIT, README на русском и английском
Пример записи перенесён из media/ в examples/sample.ogg — на нём проверяется распознавание.
db.sqlite3, media/ и models/ — в .gitignore.
2026-10-06 00:38:57 +00:00

9 lines
508 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Обязательно в продакшене
DJANGO_SECRET_KEY=change-me-to-a-long-random-string
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1
# DJANGO_DEBUG=True # для разработки
# Необязательно
API_TOKEN= # если задан — запросы с заголовком Authorization: Bearer <токен>
GRPC_SERVER= # адрес сервиса TextProcessor, например textproc:50051; пусто — не отправлять
MAX_UPLOAD_SIZE_MB=50