Skip to content

use gunicorn,can't get data from settings.py #269

@wac81

Description

@wac81

set up:
ACCOUNT_EMAIL_VERIFICATION=mandatory

使用entrypoint.sh启动(gunicorn )

python manage.py migrate

python manage.py createsuperuser --no-input

export WORKERS=${SERVER_WORKERS:-3}

export TIMEOUT=${WORKER_TIMEOUT:-180}

exec gunicorn chatgpt_ui_server.wsgi --workers=$WORKERS --timeout $TIMEOUT --bind 0.0.0.0:8000 --access-logfile -

print:
EMAIL_VERIFICATION: optional

if use python3 manger.py runserver to run, then
EMAIL_VERIFICATION: mandatory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions