Hi Guys, new to this channel and project. I am tr...
# docker
k
Hi Guys, new to this channel and project. I am trying to setup cal.com locally from github repo. cloned the repo and followed the step for installation.. from
readmen.md
local
deveContainer
for the development environment got setup without any apparent issues. However, when I am trying to run
yarn dx
.. it gives me following error.
Error: Database is uninitialized and superuser password is not specified.
You must specify POSTGRES_PASSWORD to a non-empty value for the
superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run".
You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all
connections without a password. This is *not* recommended.
See PostgreSQL documentation about "trust":
<https://www.postgresql.org/docs/current/auth-trust.html>
my docker is running and I can see that it has spun up postgres database docker image.. image is not running successfully! has anyone faced with this issue? any help would be appreciated. Posted in #general
á
Hey, I have never worked with the calcom docker container, but based on what I see in the docker compose file, the postgres environment variables are passed through the .env file. You might be missing the values that the error is mentioning. You can read more here. Add
POSTGRES_PASSWORD="PuTYourPasswordHere"
To your .env file. Hopefully it helps 🙂