Skip to content

Commit

Permalink
stop setting POSTGRES_SSL_DISABLED to true when hostname is localhost…
Browse files Browse the repository at this point in the history
… for monolith
  • Loading branch information
vieiralucas committed Dec 4, 2024
1 parent 4679e7c commit 32decaa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docker/setup/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ def run_api(cfg):
if k not in env:
env[k] = v

if env["POSTGRES_HOSTNAME"] == "localhost" and not env.get("POSTGRES_SSL_DISABLED"):
env["POSTGRES_SSL_DISABLED"] = "true"

with open("/app/api/apps/api/package.json", "r") as f:
pkgjson = json.load(f)
env["VERSION"] = pkgjson["version"]
Expand Down

0 comments on commit 32decaa

Please sign in to comment.