edgedb / edgedb-docker

Official Docker Image packaging for EdgeDB
81 stars 16 forks source link

EDGEDB_SERVER_PASSWORD does not work as expected #84

Closed spacemanspiff2007 closed 5 months ago

spacemanspiff2007 commented 5 months ago

edgedb:4.5

When setting EDGEDB_SERVER_PASSWORD to any value it's impossible to connect with

edgedb -P <published-port> instance link --trust-tls-cert my_instance

E.g. setting like this

  EDGEDB_SERVER_PASSWORD: secret

and entering "secret" for instance link will result in edb.errors.AuthenticationError: authentication failed

When not setting the env var linking the instance will work as expected. However then it's impossible to use the UI because it asks for a password:

grafik

spacemanspiff2007 commented 5 months ago

Root cause is https://github.com/edgedb/edgedb/issues/6831 Not setting the env var POSTGRES_USER in the postgres container fixes the issue