chore: restrict allowed hosts to domain and bind docker port to specific IP
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
DEBUG=True
|
DEBUG=True
|
||||||
SECRET_KEY=django-insecure-ege-lms-secret-key-12345
|
SECRET_KEY=django-insecure-ege-lms-secret-key-12345
|
||||||
ALLOWED_HOSTS=*
|
ALLOWED_HOSTS=lms.dimong.ru
|
||||||
|
|||||||
+1
-1
@@ -15,7 +15,7 @@ services:
|
|||||||
- media-data:/app/lmsege/media
|
- media-data:/app/lmsege/media
|
||||||
- static-data:/app/lmsege/staticfiles
|
- static-data:/app/lmsege/staticfiles
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "80.68.9.238:8111:8000"
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user