forked from github/plane
fix: psycopg errors (#1568)
This commit is contained in:
parent
53e443d816
commit
0102f1d693
@ -6,4 +6,4 @@ python manage.py migrate
|
|||||||
# Create a Default User
|
# Create a Default User
|
||||||
python bin/user_script.py
|
python bin/user_script.py
|
||||||
|
|
||||||
exec gunicorn -w 8 -k uvicorn.workers.UvicornWorker plane.asgi:application --bind 0.0.0.0:8000 --config gunicorn.config.py --max-requests 1200 --max-requests-jitter 1000 --access-logfile -
|
exec gunicorn -w 8 -k uvicorn.workers.UvicornWorker plane.asgi:application --bind 0.0.0.0:8000 --max-requests 1200 --max-requests-jitter 1000 --access-logfile -
|
||||||
|
@ -17,7 +17,7 @@ EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
|
|||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
"default": {
|
"default": {
|
||||||
"ENGINE": "django.db.backends.postgresql_psycopg2",
|
"ENGINE": "django.db.backends.postgresql",
|
||||||
"NAME": os.environ.get("PGUSER", "plane"),
|
"NAME": os.environ.get("PGUSER", "plane"),
|
||||||
"USER": "",
|
"USER": "",
|
||||||
"PASSWORD": "",
|
"PASSWORD": "",
|
||||||
|
@ -17,7 +17,7 @@ DEBUG = int(os.environ.get("DEBUG", 0)) == 1
|
|||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
"default": {
|
"default": {
|
||||||
"ENGINE": "django.db.backends.postgresql_psycopg2",
|
"ENGINE": "django.db.backends.postgresql",
|
||||||
"NAME": "plane",
|
"NAME": "plane",
|
||||||
"USER": os.environ.get("PGUSER", ""),
|
"USER": os.environ.get("PGUSER", ""),
|
||||||
"PASSWORD": os.environ.get("PGPASSWORD", ""),
|
"PASSWORD": os.environ.get("PGPASSWORD", ""),
|
||||||
|
@ -16,7 +16,7 @@ from .common import * # noqa
|
|||||||
DEBUG = int(os.environ.get("DEBUG", 1)) == 1
|
DEBUG = int(os.environ.get("DEBUG", 1)) == 1
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
"default": {
|
"default": {
|
||||||
"ENGINE": "django.db.backends.postgresql_psycopg2",
|
"ENGINE": "django.db.backends.postgresql",
|
||||||
"NAME": os.environ.get("PGUSER", "plane"),
|
"NAME": os.environ.get("PGUSER", "plane"),
|
||||||
"USER": "",
|
"USER": "",
|
||||||
"PASSWORD": "",
|
"PASSWORD": "",
|
||||||
|
@ -30,3 +30,5 @@ openai==0.27.8
|
|||||||
slack-sdk==3.21.3
|
slack-sdk==3.21.3
|
||||||
celery==5.3.1
|
celery==5.3.1
|
||||||
django_celery_beat==2.5.0
|
django_celery_beat==2.5.0
|
||||||
|
psycopg-binary==3.1.9
|
||||||
|
psycopg-c==3.1.9
|
@ -7,5 +7,5 @@ django-storages==1.13.2
|
|||||||
boto3==1.27.0
|
boto3==1.27.0
|
||||||
django-anymail==10.0
|
django-anymail==10.0
|
||||||
django-debug-toolbar==4.1.0
|
django-debug-toolbar==4.1.0
|
||||||
gevent==22.10.2
|
gevent==23.7.0
|
||||||
psycogreen==1.0.2
|
psycogreen==1.0.2
|
Loading…
Reference in New Issue
Block a user