feat: PRWLR-3989 add PostgreSQL to project (#10)

* feat: PRWLR-3989 add postgresql to project

* chore: PRWLR-3989 add requested changes to docker structure

* chore: PRWLR-3989 update poetry.lock
This commit is contained in:
Víctor Fernández Poyatos authored and GitHub committed 2024-07-11 10:39:09 -04:00
1 parent 157a54f30c
commit 9df759da60
7 files changed
+160 -14

No files matched your search

+6 -3
View File
@@ -81,12 +81,15 @@ SPECTACULAR_SETTINGS = {
WSGI_APPLICATION = "backend.wsgi.application"
# Database
# https://docs.djangoproject.com/en/5.0/ref/settings/#databases
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": BASE_DIR / "db.sqlite3",
"ENGINE": "django.db.backends.postgresql",
"NAME": "prowler_db",
"USER": "prowler",
"PASSWORD": "S3cret",
"HOST": "postgres-db",
"PORT": "5432",
}
}