Corp/.env.example
2026-04-21 13:40:29 +03:00

50 lines
1.1 KiB
Plaintext

# Django Settings
DEBUG=False
SECRET_KEY=change-me-django-secret-key
ALLOWED_HOSTS=localhost,127.0.0.1,web,nginx
# Database Settings
USE_SQLITE=False
POSTGRES_DB=eusrr
POSTGRES_USER=eusrr_user
POSTGRES_PASSWORD=change-me-postgres-password
DB_HOST=db
DB_PORT=5432
# Redis Settings
REDIS_HOST=redis
REDIS_PORT=6379
# Celery Settings
CELERY_BROKER_URL=redis://redis:6379/0
CELERY_RESULT_BACKEND=redis://redis:6379/1
# Ports (for development)
WEB_PORT=8000
FRONTEND_PORT=3000
NGINX_PORT=80
# Frontend Settings
NODE_ENV=production
# LDAP Settings (if used)
# LDAP_SERVER_URI=ldap://your-ldap-server
# LDAP_BIND_DN=cn=admin,dc=example,dc=com
# LDAP_BIND_PASSWORD=your-ldap-password
# LDAP_USER_SEARCH_BASE=ou=users,dc=example,dc=com
# Email Settings (if used)
# 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
# Other Settings
# SITE_URL=http://localhost:8000
# LogStorm attendance analyzer
LOGSTORM_API_URL=http://localhost:8000
LOGSTORM_API_TOKEN=change-me
LOGSTORM_TIMEOUT_SECONDS=30