38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
# Copy this file to .env and fill in the values
|
|
|
|
# Flask
|
|
SECRET_KEY=change-this-to-a-long-random-string
|
|
FLASK_ENV=development
|
|
|
|
# MySQL
|
|
MYSQL_HOST=db
|
|
MYSQL_PORT=3306
|
|
MYSQL_USER=itasset_user
|
|
MYSQL_PASSWORD=itasset_pass
|
|
MYSQL_DB=itasset_db
|
|
MYSQL_ROOT_PASSWORD=rootpassword
|
|
|
|
# LDAP / Active Directory (leave blank to disable LDAP sync)
|
|
LDAP_SERVER=ldap://your-dc.company.local
|
|
LDAP_PORT=389
|
|
LDAP_USE_SSL=false
|
|
LDAP_BIND_USER=CN=svc-itasset,OU=Service Accounts,DC=company,DC=local
|
|
LDAP_BIND_PASSWORD=service-account-password
|
|
LDAP_BASE_DN=OU=Users,DC=company,DC=local
|
|
LDAP_USER_SEARCH_FILTER=(&(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
|
|
# Attribute in AD that stores the numeric Windows ID (employeeID is common)
|
|
LDAP_WINDOWS_ID_ATTR=employeeID
|
|
|
|
# Company info for PDF generation
|
|
COMPANY_NAME=Your Company Name
|
|
COMPANY_ADDRESS=123 Street, City, Country
|
|
|
|
# Dell TechDirect API (for automatic service-tag lookup)
|
|
# Register at https://tdm.dell.com → API Services → Create an API key pair
|
|
DELL_CLIENT_ID=
|
|
DELL_CLIENT_SECRET=
|
|
|
|
# File storage (relative to project root)
|
|
UPLOAD_FOLDER=uploads
|
|
PDF_FOLDER=pdfs
|