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",
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue