-
Notifications
You must be signed in to change notification settings - Fork 3
/
.env.default
44 lines (36 loc) · 1.09 KB
/
.env.default
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
ENVIRONMENT="dev"
DB_DATABASE_NAME="pyfapi"
DB_HOST="127.0.0.1"
DB_PORT="27017"
DB_USERNAME="root"
DB_PASSWORD="root123"
LOG_LEVEL="DEBUG"
LOG_FILE="/tmp/pyfapi.log"
LOG_FORMAT="%(asctime)s - %(name)s - %(levelname)s - %(message)s"
LOG_HANDLER=["console","file"]
LOG_BACKUP_COUNT=7
LOG_MAX_DAYS=7
LOG_MAX_SIZE=10485760
MAIL_SMTP_HOST="smtp.gmail.com"
MAIL_SMTP_PORT=587
MAIL_SMTP_USERNAME="[email protected]"
MAIL_SMTP_PASSWORD="john.doe123"
CORS_ALLOWED_ORIGINS="*"
CORS_ALLOWED_METHODS="*"
CORS_ALLOWED_HEADERS="*"
CORS_ALLOW_CREDENTIALS="true"
SERVER_HOST="0.0.0.0"
SERVER_PORT=8000
SERVER_DEBUG="true"
SERVER_RELOAD="true"
SERVER_WORKERS=1
SERVER_CONTEXT_PATH="/api/v1"
JWT_SECRET_KEY="change-me"
JWT_ALGORITHM="HS256"
JWT_EXPIRATION=86400
APP_NAME="PyFAPI"
APP_VERSION="0.0.4"
APP_DESCRIPTION="Python FastAPI example"
APP_DEBUG="true"
APP_URL="http://localhost:8000"
SECURITY_ALLOWED_PATHS=["/favicon.ico","/docs","/api/v1/docs","/api/v1/redoc","/redoc","/api/v1/openapi.json","/openapi.json","/api/v1/health","/health","/ping","/","/api/v1","/api/v1/public","/api/v1/auth/login","/api/v1/auth/register"]