-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (37 loc) · 800 Bytes
/
Copy path.env.example
File metadata and controls
41 lines (37 loc) · 800 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
# Application Settings
APP_NAME=Python Web Template
APP_VERSION=0.1.0
APP_DESCRIPTION=A template for building web applications with Python
APP_DEBUG=false
APP_ENVIRONMENT=development
APP_HOST=0.0.0.0
APP_PORT=8000
APP_RELOAD=false
APP_WORKERS=1
# Database Settings
DB_HOST=localhost
DB_PORT=5432
DB_USER=postgres
DB_PASSWORD=postgres
DB_NAME=app_db
DB_ECHO=false
DB_POOL_SIZE=5
DB_MAX_OVERFLOW=10
# Logging Settings
LOG_LEVEL=INFO
LOG_SERIALIZE=false
LOG_DIAGNOSE=true
LOG_BACKTRACE=true
# CORS Settings
CORS_ENABLED=true
CORS_ALLOW_ORIGINS=*
CORS_ALLOW_CREDENTIALS=true
CORS_ALLOW_METHODS=*
CORS_ALLOW_HEADERS=*
# API Settings
API_PREFIX=/api/v1
API_DOCS_URL=/docs
API_REDOC_URL=/redoc
API_OPENAPI_URL=/openapi.json
API_TITLE=Python Web Template API
API_SUMMARY=REST API for Python Web Template