mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
test2
This commit is contained in:
@@ -10,10 +10,10 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
WORKDIR /app/gestaoRaul
|
|
||||||
RUN python gestaoRaul/manage.py collectstatic --noinput
|
RUN python gestaoRaul/manage.py collectstatic --noinput
|
||||||
|
|
||||||
# RUN python gestaoRaul/manage.py migrate --noinput
|
# RUN python gestaoRaul/manage.py migrate --noinput
|
||||||
|
WORKDIR /app/gestaoRaul
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,18 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
|||||||
SECRET_KEY = 'django-insecure-mqcnrs5!hc6bj$�@@9d8^2@x#w&$qhk3vlr5_)3znd9h6&d8'
|
SECRET_KEY = 'django-insecure-mqcnrs5!hc6bj$�@@9d8^2@x#w&$qhk3vlr5_)3znd9h6&d8'
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = os.getenv('DEBUG')
|
DEBUG = True
|
||||||
|
|
||||||
ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS')
|
ALLOWED_HOSTS = [
|
||||||
|
'192.168.0.100',
|
||||||
|
'192.168.1.150',
|
||||||
|
'10.72.150.166',
|
||||||
|
'localhost',
|
||||||
|
'127.0.0.1',
|
||||||
|
'rrbec.local.com',
|
||||||
|
'django_app',
|
||||||
|
'0.0.0.0'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|||||||
Reference in New Issue
Block a user