-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathenv.example
More file actions
41 lines (34 loc) · 1.11 KB
/
env.example
File metadata and controls
41 lines (34 loc) · 1.11 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
# FastAPI Cursor Boilerplate Environment Configuration
# Copy this file to .env and update with your actual values
# API Configuration
API_V1_STR=/api/v1
DESCRIPTION=FastAPI Cursor Boilerplate
PROJECT_NAME=FastAPI Cursor Boilerplate
VERSION=0.1.0
# CORS Configuration
BACKEND_CORS_ORIGINS=http://localhost:3000,http://localhost:8080
# Database Configuration for SQL Server
DATABASE_DRIVER=ODBC Driver 18 for SQL Server
DATABASE_SERVER=localhost
DATABASE_NAME=fastapi_db
DATABASE_USERNAME=sa
DATABASE_PASSWORD=your_secure_password_here
DATABASE_TRUSTED_CONNECTION=false
# Database Security Settings
DATABASE_ENCRYPT=true
DATABASE_TRUST_SERVER_CERTIFICATE=false
DATABASE_CERTIFICATE_PATH=
DATABASE_CONNECTION_TIMEOUT=30
DATABASE_COMMAND_TIMEOUT=30
# Connection Pool Settings
DATABASE_POOL_SIZE=5
DATABASE_MAX_OVERFLOW=10
DATABASE_POOL_TIMEOUT=30
DATABASE_POOL_RECYCLE=3600
# Legacy DATABASE_URL for compatibility (optional)
# DATABASE_URL=mssql+pyodbc://username:password@server/database?driver=ODBC+Driver+18+for+SQL+Server
# Logging Configuration
LOG_LEVEL=INFO
LOG_FORMAT=json
LOG_FILE_MAX_SIZE=10 MB
LOG_FILE_RETENTION=30 days