chore: restrict allowed hosts to domain and bind docker port to specific IP
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
DEBUG=True
|
||||
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
|
||||
- static-data:/app/lmsege/staticfiles
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "80.68.9.238:8111:8000"
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
|
||||
Reference in New Issue
Block a user