mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 06:19:24 +08:00
Removed redis from docker compose
This commit is contained in:
parent
c57a6bd499
commit
b6c7f4c900
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue