Skip to content

Index

Configuration

This section covers all configuration options for TrikuSec.

Configuration Areas

Quick Reference

Essential Variables

# Required
SECRET_KEY=your-secret-key-here

# Production
DJANGO_DEBUG=False
DJANGO_ALLOWED_HOSTS=yourdomain.com

Optional Variables

# Admin credentials
TRIKUSEC_ADMIN_USERNAME=admin
TRIKUSEC_ADMIN_PASSWORD=secure-password

# Database (optional, defaults to SQLite)
DATABASE_URL=postgresql://user:pass@host:5432/dbname

# HTTPS Security
SECURE_SSL_REDIRECT=True
SECURE_HSTS_SECONDS=31536000

Configuration Files

TrikuSec uses environment variables for configuration. These can be set via:

  1. .env file (recommended for local development)
  2. Docker Compose environment variables
  3. System environment variables

Next Steps