postgres db
This commit is contained in:
parent
bd75085b78
commit
75765d85db
2 changed files with 10 additions and 2 deletions
|
@ -106,8 +106,14 @@ WSGI_APPLICATION = "core.wsgi.application"
|
|||
|
||||
DATABASES = {
|
||||
"default": {
|
||||
"ENGINE": "django.db.backends.sqlite3",
|
||||
"NAME": BASE_DIR / "db.sqlite3",
|
||||
# "ENGINE": "django.db.backends.sqlite3",
|
||||
# "NAME": BASE_DIR / "db.sqlite3",
|
||||
"ENGINE": "django.db.backends.postgresql",
|
||||
"NAME": "django_traefik",
|
||||
"USER": "django_traefik",
|
||||
"PASSWORD": "django_traefik",
|
||||
"HOST": "db",
|
||||
"PORT": "5432",
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -5,4 +5,6 @@ django-bootstrap-datepicker-plus>=4.0
|
|||
django-bootstrap-modal-forms>=2
|
||||
django-crispy-forms>=1
|
||||
django-jazzmin>=2.6.0
|
||||
gunicorn>=20.1
|
||||
names>=0.3.0
|
||||
psycopg2-binary>=2.9
|
Loading…
Add table
Add a link
Reference in a new issue