generated from erangel1/generic-template
initial commit. phase 1 complete
This commit is contained in:
+1
-13
@@ -1,5 +1,3 @@
|
||||
version: "3.9"
|
||||
|
||||
# =============================================================================
|
||||
# LabGraph — Docker Compose Orchestration
|
||||
# Services: web (Django/Gunicorn), db (PostgreSQL), redis, celery-worker,
|
||||
@@ -75,17 +73,7 @@ services:
|
||||
container_name: labgraph_web
|
||||
restart: unless-stopped
|
||||
<<: *django-env
|
||||
command: >
|
||||
sh -c "python manage.py migrate --noinput &&
|
||||
python manage.py collectstatic --noinput &&
|
||||
gunicorn config.wsgi:application
|
||||
--bind 0.0.0.0:8000
|
||||
--workers 4
|
||||
--worker-class gthread
|
||||
--threads 2
|
||||
--timeout 120
|
||||
--access-logfile -
|
||||
--error-logfile -"
|
||||
command: sh /app/scripts/entrypoint.sh
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
- static_volume:/app/staticfiles
|
||||
|
||||
Reference in New Issue
Block a user