chore: restrict allowed hosts to domain and bind docker port to specific IP

This commit is contained in:
Dmitry Belan
2026-09-19 11:58:18 +03:00
parent 0e11a41d29
commit 9ee1788692
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
DEBUG=True
SECRET_KEY=django-insecure-ege-lms-secret-key-12345
ALLOWED_HOSTS=*
ALLOWED_HOSTS=lms.dimong.ru
+1 -1
View File
@@ -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