Removed redis from docker compose

This commit is contained in:
Keannu Bernasol 2023-08-05 13:57:34 +08:00
parent c57a6bd499
commit b6c7f4c900

View file

@ -9,14 +9,7 @@ services:
image: stude_backend:latest
ports:
- "8000:8000" # Expose port 8000 for the web server
depends_on:
- redis_server # Ensure the Redis server starts before the Python app
environment:
- PYTHONBUFFERED=1
command: ["python", "stude/manage.py", "runserver"]
# Redis server service
redis_server:
image: redis:latest
ports:
- "6379:6379" # Expose default Redis port