agdar/.env.example
2025-11-02 14:35:35 +03:00

65 lines
1.7 KiB
Plaintext

# Django Settings
SECRET_KEY=your-secret-key-here
DEBUG=True
ALLOWED_HOSTS=localhost,127.0.0.1
# Database
DATABASE_URL=postgresql://user:password@localhost:5432/agdar_centre
# Internationalization
LANGUAGE_CODE=en
TIME_ZONE=Asia/Riyadh
# Static & Media Files
STATIC_ROOT=/var/www/static
MEDIA_ROOT=/var/www/media
# Celery & Redis
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/0
# Email Configuration (Optional - for django-anymail)
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USE_TLS=True
EMAIL_HOST_USER=your-email@example.com
EMAIL_HOST_PASSWORD=your-email-password
# SMS/WhatsApp Provider (Twilio example)
TWILIO_ACCOUNT_SID=your-twilio-account-sid
TWILIO_AUTH_TOKEN=your-twilio-auth-token
TWILIO_PHONE_NUMBER=+1234567890
TWILIO_WHATSAPP_NUMBER=whatsapp:+1234567890
# NPHIES Integration
NPHIES_BASE_URL=https://nphies-test.sa/fhir
NPHIES_CLIENT_ID=your-client-id
NPHIES_CLIENT_SECRET=your-client-secret
NPHIES_ENVIRONMENT=SIMULATION
# ZATCA E-Invoicing
ZATCA_BASE_URL=https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation
ZATCA_ENVIRONMENT=SIMULATION
ZATCA_OTP=your-otp-for-onboarding
ZATCA_CSID=your-compliance-csid
ZATCA_CERTIFICATE=path/to/certificate.pem
ZATCA_PRIVATE_KEY=path/to/private-key.pem
# Lab Integration (Placeholder)
LAB_API_URL=https://lab-provider.example.com/api
LAB_API_KEY=your-lab-api-key
# Radiology Integration (Placeholder)
RADIOLOGY_API_URL=https://radiology-provider.example.com/api
RADIOLOGY_API_KEY=your-radiology-api-key
# Security
SECURE_SSL_REDIRECT=False
SESSION_COOKIE_SECURE=False
CSRF_COOKIE_SECURE=False
SECURE_HSTS_SECONDS=0
# Logging
LOG_LEVEL=INFO