# Workgroup Environment Configuration Template
# Copy this file to .env on the production server and update values

# Database Configuration
DB_TYPE=mssql
DB_HOST=YOUR_SQL_SERVER_HOST
DB_PORT=1433
DB_NAME=Elyse_DB
DB_SYNCHRONIZE=false
DB_ENCRYPT=true
DB_TRUST_SERVER_CERTIFICATE=true

# Authentication Configuration
# Set USE_KCD=false for workgroup deployments (no Kerberos/domain)
# Workgroup mode: backend connects to SQL Server as the local user account
USE_KCD=false

# Server Configuration
# Workgroup: Use localhost binding for maximum security
# This binds to localhost only - frontend runs on the same machine
SERVER_URLS=http://localhost:5000

# Application Role Passwords (must match SQL Server application roles)
CONFIGURATOR_PASSWORD=YOUR_CONFIGURATOR_PASSWORD
READER_PASSWORD=YOUR_READER_PASSWORD
REVIEWER_PASSWORD=YOUR_REVIEWER_PASSWORD
CONTROLLER_PASSWORD=YOUR_CONTROLLER_PASSWORD
EDITOR_PASSWORD=YOUR_EDITOR_PASSWORD
AUTHORISER_PASSWORD=YOUR_AUTHORISER_PASSWORD
