Files
mostovik-backend/.env.example
Aleksandr Meshchriakov beec622b75
Some checks failed
CI/CD Pipeline / Code Quality Checks (push) Failing after 10m27s
CI/CD Pipeline / Run Tests (push) Failing after 10m43s
CI/CD Pipeline / Build & Push Images (push) Successful in 7m28s
CI/CD Pipeline / Deploy (prod) (push) Has been skipped
CI/CD Pipeline / Deploy (dev) (push) Successful in 44s
fix: switch to dev settings for Docker services and improve env config
2026-02-10 19:14:36 +01:00

40 lines
1.1 KiB
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.
# Файл окружения для разработки
# Скопируйте этот файл в .env и измените значения по необходимости
# Django Settings
DJANGO_SETTINGS_MODULE=config.settings.production
DEBUG=True
SECRET_KEY=${SECRET_KEY:-django-insecure-dev-key-change-in-production}
ALLOWED_HOSTS=localhost,127.0.0.1,0.0.0.0
# Database Settings
POSTGRES_DB=mostovik
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_HOST=127.0.0.1
POSTGRES_PORT=5432
POSTGRES_SSLMODE=disable
# Redis Settings
REDIS_URL=redis://127.0.0.1:6379/0
REDIS_CACHE_URL=redis://127.0.0.1:6379/1
# Celery Settings
CELERY_BROKER_URL=redis://127.0.0.1:6379/0
CELERY_RESULT_BACKEND=redis://127.0.0.1:6379/0
# CORS Settings
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
# Logging
LOG_LEVEL=INFO
# Scrapy Settings
SCRAPY_LOG_LEVEL=INFO
# Parsers API Tokens
# Токен для zakupki.gov.ru (получить через Госуслуги на https://zakupki.gov.ru/pmd/auth/welcome)
ZAKUPKI_TOKEN=
# API ключ для checko.ru (информация о юридических лицах)
CHECKO_API_KEY=