Skip to content

Commit

Permalink
Django settings DB_HOST fallback to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
cxrxixs committed May 11, 2024
1 parent 62fb6f7 commit db5e390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
DB_PASSWORD = os.environ.get("DB_PASSWORD") or os.environ.get(
"POSTGRES_PASSWORD"
)
DB_HOST = os.environ.get("DB_HOST")
DB_HOST = os.environ.get("DB_HOST") or "localhost"
DB_PORT = os.environ.get("DB_PORT") or os.environ.get("POSTGRES_PORT")
REDIS_HOST = os.environ.get("REDIS_HOST")
REDIS_PORT = os.environ.get("REDIS_PORT")
Expand Down

0 comments on commit db5e390

Please sign in to comment.