diff --git a/Dockerfile b/Dockerfile index 6e1e194..306c4a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/docker-compose.yml b/docker-compose.yml index 1576c21..17ed472 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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