# Review Board Cloudron Environment Configuration Example
# Copy this to .env and configure as needed

# Django Configuration
SECRET_KEY=change-this-to-a-random-secret-key-in-production
ALLOWED_HOSTS=*
REVIEWBOARD_SITE_ROOT=https://your-app.cloudron.app

# Database (Automatically configured by Cloudron PostgreSQL addon)
# CLOUDRON_POSTGRESQL_HOST=127.0.0.1
# CLOUDRON_POSTGRESQL_PORT=5432
# CLOUDRON_POSTGRESQL_DATABASE=reviewboard
# CLOUDRON_POSTGRESQL_USERNAME=reviewboard
# CLOUDRON_POSTGRESQL_PASSWORD=database-password

# Admin User (create admin account on first start)
ADMIN_USERNAME=admin
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=admin-password-change-me

# Memcached (optional, for caching)
MEMCACHED_SERVER=memcached:11211

# LDAP/Active Directory (optional, for user authentication)
LDAP_SERVER=ldap://your-ldap-server.com
LDAP_BASE_DN=dc=example,dc=com
LDAP_UID=uid
LDAP_DN_TEMPLATE=uid=%(user)s,ou=users,dc=example,dc=com
LDAP_BIND_DN=cn=admin,dc=example,dc=com
LDAP_BIND_PASSWORD=your-ldap-password
