-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
67 lines (56 loc) · 1.34 KB
/
.env.example
File metadata and controls
67 lines (56 loc) · 1.34 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Application
APP_NAME=adaptive-param
APP_ENV=development # development, testing, production
DEBUG=True
SECRET_KEY=your-secret-key-here
API_V1_PREFIX=/api/v1
# Server
HOST=0.0.0.0
PORT=8000
WORKERS=4
RELOAD=True
# Database - PostgreSQL
POSTGRES_SERVER=localhost
POSTGRES_USER=postgres
POSTGRES_PASSWORD=your-password-here
POSTGRES_DB=adaptive_param
POSTGRES_PORT=5432
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_SERVER}:${POSTGRES_PORT}/${POSTGRES_DB}
# Database - InfluxDB
INFLUXDB_URL=http://localhost:8086
INFLUXDB_TOKEN=your-token-here
INFLUXDB_ORG=your-org-here
INFLUXDB_BUCKET=adaptive_param
# Cache - Redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0
REDIS_PASSWORD=your-redis-password-here
# CORS
BACKEND_CORS_ORIGINS=["http://localhost:3000","http://localhost:8080"]
ALLOWED_METHODS=["*"]
ALLOWED_HEADERS=["*"]
# File Upload
UPLOAD_DIR=uploads
MAX_UPLOAD_SIZE=10485760 # 10MB
# Robot Control
ROBOT_SERIAL_PORT=/dev/ttyUSB0
ROBOT_BAUD_RATE=115200
ROBOT_TIMEOUT=1.0
# Camera
CAMERA_INDEX=0
CAMERA_WIDTH=1280
CAMERA_HEIGHT=720
CAMERA_FPS=30
# JWT
JWT_SECRET_KEY=your-jwt-secret-key-here
JWT_ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
REFRESH_TOKEN_EXPIRE_DAYS=7
# Logging
LOG_DIR=logs
LOG_LEVEL=INFO
LOG_FORMAT=json
# Frontend
VITE_API_URL=http://localhost:8000
VITE_APP_TITLE=Adaptive Parameter Adjustment System