Files
guilan-ace-backend/.env.test
Amirhossein Khalili 3ec28638d1 feat: replace email flows with in-app notifications
Add recipient notification detail and filtering, a queued admin composer, and contextual automatic titles. Retire email delivery, obsolete auth routes, newsletter data, and related templates and settings.
2026-09-26 12:23:10 +03:30

42 lines
973 B
Plaintext

# Django
DJANGO_SETTINGS_MODULE=config.settings.test
SECRET_KEY=test-secret-key
DEBUG=False
ALLOWED_HOSTS=localhost,127.0.0.1,testserver
DJANGO_HOST=http://localhost:8000
# Gunicorn
GUNICORN_WORKERS=2
GUNICORN_THREADS=2
GUNICORN_TIMEOUT=120
# Test database
TEST_DB_ENGINE=django.db.backends.sqlite3
TEST_DB_NAME=db.test.sqlite3
TEST_DB_USER=
TEST_DB_PASSWORD=
TEST_DB_HOST=
TEST_DB_PORT=
# Redis / Celery
REDIS_PASSWORD=
REDIS_URL=redis://localhost:6379/0
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/1
# JWT
JWT_SECRET_KEY=test-jwt-key
JWT_ALGORITHM=HS256
JWT_ACCESS_TOKEN_LIFETIME=3600
JWT_REFRESH_TOKEN_LIFETIME=86400
# Frontend integration
CORS_ALLOWED_ORIGINS=http://localhost:3000
FRONTEND_ROOT=http://localhost:3000
FRONTEND_CALLBACK_URL=http://localhost:3000/payments/result
# ZarinPal
ZARINPAL_MERCHANT_ID=sandbox-merchant
ZARINPAL_USE_SANDBOX=True
ZARINPAL_CALLBACK_URL=http://localhost:8000/api/payments/callback