Add .env.example template for environment configuration
This commit is contained in:
22
.env.example
Normal file
22
.env.example
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# Flask Configuration
|
||||||
|
FLASK_ENV=production
|
||||||
|
FLASK_DEBUG=False
|
||||||
|
SECRET_KEY=your-secret-key-change-this-in-production
|
||||||
|
|
||||||
|
# Database Configuration
|
||||||
|
DB_HOST=mariadb
|
||||||
|
DB_PORT=3306
|
||||||
|
DB_USER=quality_user
|
||||||
|
DB_PASSWORD=your-password
|
||||||
|
DB_NAME=quality_db
|
||||||
|
|
||||||
|
# Application Configuration
|
||||||
|
APP_PORT=8080
|
||||||
|
APP_HOST=0.0.0.0
|
||||||
|
|
||||||
|
# Session Configuration
|
||||||
|
SESSION_TIMEOUT=3600
|
||||||
|
|
||||||
|
# Logging Configuration
|
||||||
|
LOG_LEVEL=INFO
|
||||||
|
LOG_FILE=/app/data/logs/app.log
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,4 +1,4 @@
|
|||||||
.env.example
|
.env
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.pyc
|
*.pyc
|
||||||
*.pyo
|
*.pyo
|
||||||
|
|||||||
Reference in New Issue
Block a user