lower workers
This commit is contained in:
+1
-1
@@ -14,4 +14,4 @@ COPY . /app/
|
||||
CMD ["sh", "-c", "python manage.py makemigrations && \
|
||||
python manage.py migrate && \
|
||||
python manage.py collectstatic --no-input && \
|
||||
gunicorn core.wsgi:application --bind 0.0.0.0:8000 --workers 5"]
|
||||
gunicorn core.wsgi:application --bind 0.0.0.0:8000 --workers 3"]
|
||||
+1
-1
@@ -24,7 +24,7 @@ services:
|
||||
[
|
||||
"sh",
|
||||
"-c",
|
||||
"python manage.py migrate && python manage.py collectstatic --no-input && gunicorn core.wsgi:application --bind 0.0.0.0:8000 --workers 5",
|
||||
"python manage.py migrate && python manage.py collectstatic --no-input && gunicorn core.wsgi:application --bind 0.0.0.0:8000 --workers 3",
|
||||
]
|
||||
networks:
|
||||
- default
|
||||
|
||||
Reference in New Issue
Block a user