edgedb / edgedb-docker

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

Stop using Unix sockets for bootstrap #55

Closed elprans closed 2 years ago

elprans commented 2 years ago

With recent CLI changes using --admin no longer works (because EDGEDB_HOST no longer allows Unix sockets). Since bootstrap server only listens on loopback we can use TCP with Trust default authentication method. In case an explicit auth is configured, use EDGEDB_USER and EDGEDB_PASSWORD as specified in the environment.