cal/packages/prisma/docker-compose.yml
Omar López fe35cf6570
Extract prisma to it's own package (#1823)
* Moved prisma to packages

* Add missing prisma configs

* Extracts common libs and types

* Build and pipeline fixes

* Adds missing package

* Prisma scripts cleanup

* Updates lint staged

* Type fixes

* Sort imports

* Updates yarn lock file

* Fixes for yarn dx

* Revert "Sort imports"

This reverts commit 076109decab9b9ba307fc03696c3b0da5c4896f3.

* Formatting

* Prevent double TS version

* Fix conflict

* Extracted e2e configs
2022-02-15 13:30:52 -07:00

28 lines
691 B
YAML

# this file is a helper to run Cal.com locally
# starts a postgres instance on port 5450 to use as a local db
version: "3.6"
services:
postgres:
image: postgres:13
ports:
- "5450:5432" # expose pg on port 5450 to not collide with pg from elswhere
restart: always
volumes:
- db_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: "cal-saml"
POSTGRES_PASSWORD: ""
POSTGRES_HOST_AUTH_METHOD: trust
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
interval: 10s
timeout: 5s
retries: 5
postgres_is_ready:
image: postgres
depends_on:
postgres:
condition: service_healthy
volumes:
db_data: