-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.env.example
22 lines (19 loc) · 842 Bytes
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Database Config
SQLALCHEMY_DATABASE_URL="sqlite:///./api.db"
#---------------------------------------------------------------------------------------#
# To use PostgreSQL Database comment the above line and uncomment the line below.
# Make sure to update the below settings with correct user/password and database address.
#---------------------------------------------------------------------------------------#
# SQLALCHEMY_DATABASE_URL="postgresql://user:password@postgresserver/db"
# Celery Config
MONGODB_URL="mongodb://localhost:27017"
MONGODB_NAME="fastapi"
CELERY_CONF_BROKER_URL="redis://localhost:6379"
CELERY_CONF_RESULT_BACKEND="redis://localhost:6379"
# CORS Config
ALLOWED_ORIGINS='["http://localhost","http://localhost:8000"]'
ALLOW_CREDENTIALS=True
ALLOW_METHODS='["*"]'
ALLOW_HEADERS='["*"]'
# App Config
APP_DEBUG=True