This commit is contained in:
Tibor Bossanyi (Freelancer) 2022-10-05 07:33:36 +02:00
parent 9c5b7f24a4
commit f7e7609bc3

View File

@ -1,7 +1,7 @@
import os import os
from firebase_admin import initialize_app from firebase_admin import initialize_app
BACKOFFICE_VERSION = "1.38" BACKOFFICE_VERSION = "1.38.2"
# Build paths inside the project like this: os.path.join(BASE_DIR, ...) # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@ -15,6 +15,10 @@ SECRET_KEY = os.environ['DJANGO_KEY']
DEBUG = False DEBUG = False
ALLOWED_HOSTS = ['62.171.188.119', ALLOWED_HOSTS = ['62.171.188.119',
'185.217.125.171',
'185.190.140.180',
'185.225.232.84',
'173.212.199.73',
'.aitrainer.info', '.aitrainer.info',
'.aitrainer.app', '.aitrainer.app',
'.workouttest.com', '.workouttest.com',
@ -84,7 +88,7 @@ DATABASES = {
'USER': 'aitrainer', 'USER': 'aitrainer',
'PASSWORD': 'andio2009', 'PASSWORD': 'andio2009',
'HOST': 'mariadb-galera.db.svc.cluster.local', 'HOST': 'mariadb-galera.db.svc.cluster.local',
'PORT': 33060 'PORT': 3307
}, },
'live': { 'live': {
'ENGINE': 'django.db.backends.mysql', 'ENGINE': 'django.db.backends.mysql',
@ -92,7 +96,7 @@ DATABASES = {
'USER': 'aitrainer', 'USER': 'aitrainer',
'PASSWORD': 'andio2009', 'PASSWORD': 'andio2009',
'HOST': 'mariadb-galera.db.svc.cluster.local', 'HOST': 'mariadb-galera.db.svc.cluster.local',
'PORT': 33060 'PORT': 3307
} }
} }