address-service/.env.example

16 lines
668 B
Plaintext
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_DEBUG=false
DJANGO_SECRET_KEY=change-me
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1
# Origins со схемой, через запятую. Нужны для CSRF за прокси.
# CSRF_TRUSTED_ORIGINS=https://address.example.ru,http://localhost:8000
# "/" — UI и API от корня. Всегда со слешами.
URL_PREFIX=/address-service/
GRPC_HOST=[::]
GRPC_PORT=50051
GRPC_WORKERS=10
DATABASE_URL=postgresql://address:address@localhost:5432/address
# POSTGRES_WAIT_SECONDS=30
# Общий кеш поиска (HTTP и gRPC). Без URL — LocMem, только текущий процесс.
# REDIS_URL=redis://127.0.0.1:6379/0
# CACHE_TTL=86400