Skip to content

Commit

Permalink
modify: 필수 환경 변수 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuung committed Dec 7, 2024
1 parent fd66030 commit df4acac
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions backoffice/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,14 @@

DATABASES = {
"default": {
"ENGINE": env("DATABASE_ENGINE"),
"NAME": env("POSTGRES_NAME"),
"USER": env("POSTGRES_USER"),
"PASSWORD": env("POSTGRES_PASSWORD"),
"HOST": env("POSTGRES_HOST"),
"PORT": env("POSTGRES_PORT"),
"ENGINE": env(
"DATABASE_ENGINE", default="django.db.backends.postgresql"
),
"NAME": env("POSTGRES_NAME", default="postgres"),
"USER": env("POSTGRES_USER", default="postgres"),
"PASSWORD": env("POSTGRES_PASSWORD", default="postgres"),
"HOST": env("POSTGRES_HOST", default="localhost"),
"PORT": env("POSTGRES_PORT", default="5432"),
}
}

Expand Down

0 comments on commit df4acac

Please sign in to comment.