42 lines
1.3 KiB
Bash
42 lines
1.3 KiB
Bash
# Flask Configuration
|
|
FLASK_APP=run.py
|
|
FLASK_ENV=production
|
|
SECRET_KEY=1da82c4604ae1d3c3a00f66d2e6aecc8d8f19a93756e7b4a7c114cc6e26eeccd
|
|
|
|
# Database Configuration
|
|
DB_HOST=localhost
|
|
DB_PORT=3306
|
|
DB_NAME=it_ticket
|
|
DB_USER=it_ticket
|
|
DB_PASSWORD=IT.t1ck3t.5ys
|
|
|
|
# Mail Configuration (SMTP)
|
|
# Port 465 uses implicit SSL — MAIL_USE_SSL must be True, MAIL_USE_TLS must be False.
|
|
# If your SMTP server uses port 587, swap these: MAIL_USE_TLS=True, MAIL_USE_SSL=False.
|
|
MAIL_SERVER=mail.ltservicesinc.com
|
|
MAIL_PORT=465
|
|
MAIL_USE_TLS=False
|
|
MAIL_USE_SSL=True
|
|
MAIL_USERNAME=donotreply@ltservicesinc.com
|
|
MAIL_PASSWORD=M-6ZW+omp7n]
|
|
MAIL_DEFAULT_SENDER=IT Helpdesk <donotreply@ltservicesinc.com>
|
|
|
|
# IT Department Email (receives all new ticket notifications)
|
|
IT_DEPT_EMAIL=da.nguyen8744@gmail.com
|
|
|
|
# Application URL (used in email links)
|
|
APP_BASE_URL=https://tickets.ltservicesinc.com
|
|
|
|
# Gemini opic API Key (for AI Chatbot)
|
|
GROQ_API_KEY=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
|
|
|
|
# File Upload Configuration
|
|
# Must be an absolute path so all gunicorn workers resolve the same directory
|
|
# regardless of their working directory. Adjust to match your deployment path.
|
|
UPLOAD_FOLDER=/home/it-ticket/myapp/app/static/uploads
|
|
MAX_CONTENT_LENGTH=16777216
|
|
|
|
# Admin default credentials (change after first login)
|
|
ADMIN_EMAIL=admin@yourdomain.com
|
|
ADMIN_PASSWORD=Admin@123!
|