diff --git a/api/settings.py b/api/settings.py index ef54c173..32b12399 100644 --- a/api/settings.py +++ b/api/settings.py @@ -21,7 +21,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = 'django-insecure-_u202k$8qq2p*cr_eo(7k!0ngr5^n)27@85+5oy8&41(u6&j54' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = False ALLOWED_HOSTS = ['*'] @@ -79,9 +79,9 @@ ASGI_APPLICATION = 'api.asgi.application' # Database # https://docs.djangoproject.com/en/4.1/ref/settings/#databases -#prod:5.223.52.193 dev:5.223.52.193 +#prod:5.223.52.193 dev:5.223.42.146 -MODE = 'dev' +MODE = 'prod' DBHOST = '172.17.0.1' if MODE == 'prod' else '5.223.52.193' DATABASES = { diff --git a/buildmaster.sh b/buildmaster.sh index 05a59687..c5ca97c9 100644 --- a/buildmaster.sh +++ b/buildmaster.sh @@ -1,4 +1,4 @@ -#python3 envprod.py +python3 envmaster.py PROJECT="utopia" IMAGE="api" diff --git a/buildmasterdev.sh b/buildmasterdev.sh index c1878acf..23f861c3 100644 --- a/buildmasterdev.sh +++ b/buildmasterdev.sh @@ -1,4 +1,4 @@ -#python3 envprod.py +python3 envmaster.py PROJECT="utopia" IMAGE="api-dev"