Closed elprans closed 2 years ago
Should we consistently support these in all places?
We already do via _env
in DSN. I don't think _ENV
env var redirection is particularly useful outside of the docker image entrypoint.
we decided that there will be no conflicting variables
It's an error to have both password
and password_env
in the DSN.
This adds a way to specify a given parameter value in an arbitrary environment variable given via
<PARAM>_ENV
. For example:The above is especially useful when running the edgedb container from a host that allows linking hosted PostgreSQL instances, like DigitalOcean or Fly.io (both use
DATABASE_URL
)