Josh
12/22/2022, 4:08 AMdocker compose up -d database
then, with my .env configured to:
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=calendso
DATABASE_HOST=database:5432
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
i do:
DOCKER_BUILDKIT=0 docker compose build calcom
and end up with the error:
@calcom/prisma:build: Error: P1001: Can't reach database server at `database`:`5432`
@calcom/prisma:build:
@calcom/prisma:build: Please make sure your database server is running at `database`:`5432`.
@calcom/prisma:build: error Command failed with exit code 1.
@calcom/prisma:build: info Visit <https://yarnpkg.com/en/docs/cli/run> for documentation about this command.
@calcom/prisma:build: error Command failed with exit code 1.
@calcom/prisma:build: info Visit <https://yarnpkg.com/en/docs/cli/run> for documentation about this command.
everything else about the project is stock.
any thoughts here?Elliott
12/22/2022, 5:49 AMJosh
12/22/2022, 5:50 AMJosh
12/22/2022, 5:50 AMElliott
12/22/2022, 5:51 AMElliott
12/22/2022, 5:52 AMJosh
12/22/2022, 5:56 AMJosh
12/22/2022, 5:57 AMJosh
12/22/2022, 6:01 AMElliott
12/22/2022, 6:02 AMElliott
12/22/2022, 6:03 AMElliott
12/22/2022, 6:04 AMJosh
12/22/2022, 6:05 AMElliott
12/22/2022, 6:05 AMNelson Keating
01/28/2023, 1:15 AM