-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.env.example
More file actions
46 lines (37 loc) · 880 Bytes
/
.env.example
File metadata and controls
46 lines (37 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Application settings
APP_NAME=JMeter Toolkit
APP_VERSION=2.0.0
DEBUG=false
ENVIRONMENT=production
LOG_LEVEL=INFO
LOG_FILE=
SECRET_KEY=your-secret-key-change-in-production
# Server settings
HOST=0.0.0.0
PORT=8000
RELOAD=false
# Database settings
DATABASE_URL=postgresql://jmeter:jmeter@localhost:5432/jmeter_toolkit
DATABASE_ECHO=false
# Redis settings
REDIS_URL=redis://localhost:6379/0
# Celery settings
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/0
# File settings
UPLOAD_MAX_SIZE=104857600 # 100MB
ALLOWED_FILE_EXTENSIONS=[".jmx"]
# JMeter settings
JMETER_VERSION=5.5
JMETER_HOME=/opt/apache-jmeter-5.5
JMETER_MAX_HEAP=2g
JMETER_TIMEOUT=3600
# Security settings
ALLOWED_HOSTS=["*"]
CORS_ORIGINS=["*"]
# Monitoring settings
ENABLE_METRICS=true
METRICS_PORT=9090
# Logging settings
LOG_ROTATION=1 day
LOG_RETENTION=30 days