-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexample.env
49 lines (42 loc) · 1.53 KB
/
example.env
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
### APP metadata
APP_TITLE=DATA-PATCH PROJECT
APP_DESCRIPTION=A FastAPI boilerplate for CRUD operations
APP_VERSION=0.1.beta
SERVER_HOST=http://localhost:8000
BACKEND_CORS_ORIGINS=["*"]
### JWT secret keys
JWT_SECRET_KEY=your-secret-key-from-openssl
JWT_ALGORITHM=HS256
JWT_EXPIRES=30
### DB secret keys
SQL_TYPE=postgre_sql # sql_lite | postgre_sql
SQL_USER=postgres
SQL_PWD=your-postgresql-password
SQL_SERVER=localhost
SQL_PORT=5432
SQL_DB=test_datapatch
SQL_DB_URL=postgresql+psycopg2://${SQL_USER}:${SQL_PWD}@${SQL_SERVER}:${SQL_PORT}/${SQL_DB}
SQL_DB_URL_BIS=postgresql://${SQL_USER}:${SQL_PWD}@${SQL_SERVER}:${SQL_PORT}/${SQL_DB}
SQL_DB_DATA=test_datapatch_data
SQL_DB_URL_DATA=postgresql+psycopg2://${SQL_USER}:${SQL_PWD}@${SQL_SERVER}:${SQL_PORT}/${SQL_DB_DATA}
SQL_DB_URL_DATA_BIS=postgresql://${SQL_USER}:${SQL_PWD}@${SQL_SERVER}:${SQL_PORT}/${SQL_DB_DATA}
SQLITE_DB_NAME=sql_app.db
SQLITE_DB_URL=sqlite:///./${SQLITE_DB_NAME}
SQLITE_DB_URL_ALEMBIC=sqlite:///${SQLITE_DB_NAME}
SQLITE_DB_DATA_NAME=sql_app_data.db
SQLITE_DB_DATA_URL=sqlite:///./${SQLITE_DB_DATA_NAME}
SQLITE_DB_DATA_URL_ALEMBIC=sqlite:///${SQLITE_DB_DATA_NAME}
FIRST_SUPERUSER_USERNAME=admin
FIRST_SUPERUSER_NAME=Elinor
FIRST_SUPERUSER_SURNAME=Ostrom
FIRST_SUPERUSER_LOCALE=en
FIRST_SUPERUSER_DESCRIPTION=Admin/superuser created at running app for the fisrt time
FIRST_SUPERUSER_PASSWORD=123456
### EMAILING
# EMAILS_ENABLED=false
SMTP_PORT=587
SMTP_HOST=smtp.gmail.com
SMTP_PASSWORD=123456smtp