This commit is contained in:
parent
63305124d9
commit
5440518578
@ -8,6 +8,7 @@ ENV REACT_CLIENT_ID="rrgNLSEqlcl45RVMQa0LxQLOHOgZ2L7ZlGpXUrCp"
|
|||||||
ENV REACT_CLIENT_SECRET="lKsmraeSmihY8rTQgd8TTGIncUloW7XokR8WLI0oZq8jCJ59guAkopg9ZOUeXFdyrqwuLi6TyXLZJDp1KB8DWEus05ttS3NQHoLvfRoOQtJpQaxzyIo85oykjQn25Keb"
|
ENV REACT_CLIENT_SECRET="lKsmraeSmihY8rTQgd8TTGIncUloW7XokR8WLI0oZq8jCJ59guAkopg9ZOUeXFdyrqwuLi6TyXLZJDp1KB8DWEus05ttS3NQHoLvfRoOQtJpQaxzyIo85oykjQn25Keb"
|
||||||
RUN pip install --upgrade pip
|
RUN pip install --upgrade pip
|
||||||
COPY ./requirements.txt .
|
COPY ./requirements.txt .
|
||||||
|
RUN apk add --no-cache --virtual .build-deps gcc musl-dev postgresql-dev python3-dev
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
ENV DJANGO_SETTINGS_MODULE=izaac.settings
|
ENV DJANGO_SETTINGS_MODULE=izaac.settings
|
||||||
|
|||||||
@ -30,7 +30,7 @@ SECRET_KEY = "django-insecure-ztiqj957k(j*@ms=-^9j+=j7wd+cyo*+9g&hkfh1bji-@#&6(e
|
|||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
||||||
ALLOWED_HOSTS = ['https://izaac.knck.pl']
|
ALLOWED_HOSTS = ['https://izaac.knck.pl', 'izaac.knck.pl', 'localhost', 'izaac-backend', 'izaac-frontend']
|
||||||
|
|
||||||
CORS_ALLOW_ALL_ORIGINS = True
|
CORS_ALLOW_ALL_ORIGINS = True
|
||||||
|
|
||||||
@ -38,6 +38,8 @@ CORS_ALLOWED_ORIGNS = [
|
|||||||
"http://localhost:8000",
|
"http://localhost:8000",
|
||||||
"https://izaac.knck.pl",
|
"https://izaac.knck.pl",
|
||||||
"http://izaac.knck.pl",
|
"http://izaac.knck.pl",
|
||||||
|
"izaac-frontend",
|
||||||
|
"izaac-backend",
|
||||||
]
|
]
|
||||||
|
|
||||||
# CORS_ALLOWED_ORIGIN = [
|
# CORS_ALLOWED_ORIGIN = [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user