This commit is contained in:
Dmitry Belan
2026-09-19 13:26:49 +03:00
parent 46319def76
commit 8069238c4d
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -15,6 +15,6 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . /app/
EXPOSE 8000
EXPOSE 8111
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "lmsege.wsgi:application"]
CMD ["gunicorn", "--bind", "0.0.0.0:8111", "lmsege.wsgi:application"]
+2 -2
View File
@@ -8,14 +8,14 @@ services:
python manage.py makemigrations users lms &&
python manage.py migrate &&
python manage.py collectstatic --noinput &&
gunicorn --bind 0.0.0.0:8000 lmsege.wsgi:application"
gunicorn --bind 0.0.0.0:8111 lmsege.wsgi:application"
volumes:
- .:/app
- db-data:/app/lmsege/db_data
- media-data:/app/lmsege/media
- static-data:/app/lmsege/staticfiles
ports:
- "80.68.9.238:8111:8000"
- "8111:8111"
env_file:
- .env