mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
86379c51b7
* dev: workers count * dev: update the worker count variable to GUNICORN_WORKERS
10 lines
302 B
Bash
Executable File
10 lines
302 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
python manage.py wait_for_db
|
|
python manage.py migrate
|
|
|
|
# Create a Default User
|
|
python bin/user_script.py
|
|
|
|
exec gunicorn -w $GUNICORN_WORKERS -k uvicorn.workers.UvicornWorker plane.asgi:application --bind 0.0.0.0:8000 --max-requests 1200 --max-requests-jitter 1000 --access-logfile -
|