mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-07-04 11:34:28 +00:00
Update PostgreSQL database settings to include default values for development
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 3m7s
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 3m7s
This commit is contained in:
@ -137,11 +137,11 @@ if not DEBUG:
|
||||
DATABASES = {
|
||||
"default": {
|
||||
"ENGINE": "django.db.backends.postgresql",
|
||||
"NAME": env("POSTGRES_DATABASE"),
|
||||
"USER": env("POSTGRES_USER"),
|
||||
"PASSWORD": env("POSTGRES_PASSWORD"),
|
||||
"HOST": env("POSTGRES_HOST"),
|
||||
"PORT": env("POSTGRES_PORT"),
|
||||
"NAME": env("POSTGRES_DATABASE", default="mydb"), # type: ignore
|
||||
"USER": env("POSTGRES_USER", default="postgres"), # type: ignore
|
||||
"PASSWORD": env("POSTGRES_PASSWORD", default="testpass123"), # type: ignore
|
||||
"HOST": env("POSTGRES_HOST", default="localhost"), # type: ignore
|
||||
"PORT": env("POSTGRES_PORT", default="6500"), # type: ignore
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user