micro_service_placeholder/microService/backend/settings/development.py

33 lines
653 B
Python

from .base import *
import os
from dotenv import load_dotenv
load_dotenv(override=True)
USER = os.getenv("USER")
HOST = os.getenv("HOST")
PORT = os.getenv("PORT")
DB = os.getenv("DB")
PASS = os.getenv("PASS")
DEBUG = True
ALLOWED_HOSTS = ["https://placeholder-dev.humbingo.in"]
CORS_ALLOWED_ORIGINS = [
"http://localhost:3000",
"http://127.0.0.1:3000",
"https://placeholder-dev.humbingo.in",
]
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': DB,
'HOST': HOST,
'PORT': PORT,
'USER':USER,
'PASSWORD': PASS
}
}
BASE_URL = os.getenv("BASE_URL")