mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-16 08:24:15 +00:00
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:
1 parent
157a54f30c
commit
9df759da60
7 files changed
+160
-14
No files matched your search
@@ -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",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user