2026-02-19 17:55:33 +03:30
|
|
|
# Django
|
|
|
|
|
SECRET_KEY=your-secret-key-change-in-production
|
|
|
|
|
DEBUG=1
|
2026-04-27 03:24:21 +03:30
|
|
|
ALLOWED_HOSTS=localhost,127.0.0.1,0.0.0.0,web
|
|
|
|
|
DEVELOP=true
|
2026-03-20 15:49:00 +03:30
|
|
|
# Database (MySQL)
|
2026-02-19 17:55:33 +03:30
|
|
|
DB_ENGINE=django.db.backends.mysql
|
|
|
|
|
DB_NAME=croplogic
|
|
|
|
|
DB_USER=croplogic
|
|
|
|
|
DB_PASSWORD=changeme
|
2026-04-27 03:24:21 +03:30
|
|
|
DB_ROOT_PASSWORD=root
|
2026-02-19 17:55:33 +03:30
|
|
|
DB_HOST=db
|
|
|
|
|
DB_PORT=3306
|
2026-04-27 03:24:21 +03:30
|
|
|
|
2026-03-20 15:49:00 +03:30
|
|
|
AVALAI_API_KEY=aa-iDlMpRAfRyd95pCQxr5YXfJoJmw4qCDe6fnozQ4PlkpYF0pA
|
|
|
|
|
AVALAI_BASE_URL=https://api.avalai.ir/v1
|
2026-02-27 19:37:02 +03:30
|
|
|
|
2026-03-20 15:49:00 +03:30
|
|
|
# GapGPT API (provider اصلی)
|
|
|
|
|
GAPGPT_API_KEY=sk-ZeFmDwROcQ2rYOFmUxHLjIwMTSUdo2qNc3Uraug9dOK2ihn5
|
|
|
|
|
GAPGPT_BASE_URL=https://api.gapgpt.app/v1
|
2026-02-27 19:37:02 +03:30
|
|
|
|
2026-03-20 15:49:00 +03:30
|
|
|
# Weather API (Open-Meteo)
|
|
|
|
|
WEATHER_API_BASE_URL=https://api.open-meteo.com/v1/forecast
|
|
|
|
|
WEATHER_API_KEY=
|
2026-05-03 15:43:01 +03:30
|
|
|
|
2026-04-29 01:27:29 +03:30
|
|
|
|
|
|
|
|
# Soil data provider: mock | soilgrids
|
|
|
|
|
SOIL_DATA_PROVIDER=mock
|
|
|
|
|
SOIL_MOCK_DELAY_SECONDS=0.8
|
|
|
|
|
SOILGRIDS_TIMEOUT_SECONDS=60
|
2026-05-03 15:43:01 +03:30
|
|
|
|
|
|
|
|
WEATHER_DATA_PROVIDER=mock
|
|
|
|
|
WEATHER_MOCK_DELAY_SECONDS=0.8
|
|
|
|
|
WEATHER_TIMEOUT_SECONDS=60
|