Changed external port for django in docker compose file

This commit is contained in:
Keannu Bernasol 2023-09-12 19:59:54 +08:00
parent df2f172813
commit 36aecbbfb4

View file

@ -8,7 +8,7 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
image: stude_backend:latest image: stude_backend:latest
ports: ports:
- "8192:8000" # Expose port 8192 for the web server - "8083:8000" # Expose port 8083 for the web server
environment: environment:
- PYTHONBUFFERED=1 - PYTHONBUFFERED=1
command: ["sh", "-c", "python stude/wait_for_redis.py && python stude/manage.py runserver"] command: ["sh", "-c", "python stude/wait_for_redis.py && python stude/manage.py runserver"]