mix test
18:01:55.538 [error] GenServer #PID<0.209.0> terminating
** (KeyError) key :hostname not found in: [types: Postgrex.DefaultTypes, backoff_type: :stop, pool: DBConnection.Connection, database: "
template1", otp_app: :codebattle, repo: Codebattle.Repo, adapter: Ecto.Adapters.Postgres]
(elixir) lib/keyword.ex:371: Keyword.fetch!/2
(postgrex) lib/postgrex/protocol.ex:54: Postgrex.Protocol.connect/1
(db_connection) lib/db_connection/connection.ex:134: DBConnection.Connection.connect/2
(connection) lib/connection.ex:622: Connection.enter_connect/5
(stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Last message: nil
** (Mix) The database for Codebattle.Repo couldn't be created: an exception was raised:
** (KeyError) key :hostname not found in: [types: Postgrex.DefaultTypes, backoff_type: :stop, pool: DBConnection.Connection, databas
e: "template1", otp_app: :codebattle, repo: Codebattle.Repo, adapter: Ecto.Adapters.Postgres]
(elixir) lib/keyword.ex:371: Keyword.fetch!/2
(postgrex) lib/postgrex/protocol.ex:54: Postgrex.Protocol.connect/1
(db_connection) lib/db_connection/connection.ex:134: DBConnection.Connection.connect/2
(connection) lib/connection.ex:622: Connection.enter_connect/5
(stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Makefile:48: recipe for target 'test' failed
make: *** [test] Error 1
docker-compose build web
Building web
ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
Makefile:12: recipe for target 'compose-build' failed
make: *** [compose-build] Error 1