gold eggs backend
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s
This commit is contained in:
22
config/settings/production.py
Executable file
22
config/settings/production.py
Executable file
@@ -0,0 +1,22 @@
|
||||
from common.env import env
|
||||
from config.conf import rest_framework
|
||||
from config.settings.common import * # noqa
|
||||
|
||||
DATABASES = {
|
||||
"default": {
|
||||
"ENGINE": env("DB_ENGINE"),
|
||||
"NAME": env("DB_NAME"),
|
||||
"USER": env("DB_USER"),
|
||||
"PASSWORD": env("DB_PASSWORD"),
|
||||
"HOST": env("DB_HOST"),
|
||||
"PORT": env("DB_PORT"),
|
||||
}
|
||||
}
|
||||
|
||||
MIDDLEWARE += []
|
||||
|
||||
ALLOWED_HOSTS += ["192.168.100.26", "80.90.178.156"]
|
||||
|
||||
rest_framework.REST_FRAMEWORK["DEFAULT_THROTTLE_RATES"] = {
|
||||
"user": "10/min",
|
||||
}
|
||||
Reference in New Issue
Block a user