Adds prisma data proxy (#7706)
* Adds prisma data proxy * Fix for pipeline * Update gh.env * Update env-create-file.yml * Reverts some changes * Update turbo.json * Update .env.example --------- Co-authored-by: Peer Richelsen <peeroke@gmail.com>pull/7700/head
parent
089f52b425
commit
f20d78bec1
|
@ -22,6 +22,10 @@ CALCOM_LICENSE_KEY=
|
|||
|
||||
# - DATABASE ************************************************************************************************
|
||||
DATABASE_URL="postgresql://postgres:@localhost:5450/calendso"
|
||||
# Opt-in to a dedicated connection pool for Prisma using Prisma Data Proxy
|
||||
# Cold boots will be faster and you will be able to scale your DB independently of your application.
|
||||
# @see https://www.prisma.io/docs/data-platform/data-proxy/use-data-proxy
|
||||
PRISMA_GENERATE_DATAPROXY=false
|
||||
# ***********************************************************************************************************
|
||||
|
||||
# - SHARED **************************************************************************************************
|
||||
|
|
|
@ -39,6 +39,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./.github/actions/dangerous-git-checkout
|
||||
- uses: ozaytsev86/create-env-file@v1
|
||||
with:
|
||||
file-name: ${{ github.workspace }}/gh.env
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "yarn prisma migrate deploy",
|
||||
"clean": "rm -rf .turbo && rm -rf node_modules",
|
||||
"db-deploy": "yarn prisma migrate deploy",
|
||||
"db-migrate": "yarn prisma migrate dev",
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"pipeline": {
|
||||
"@calcom/prisma#build": {
|
||||
"cache": false,
|
||||
"dependsOn": ["post-install", "db-deploy"],
|
||||
"dependsOn": ["post-install"],
|
||||
"outputs": []
|
||||
},
|
||||
"@calcom/prisma#db-migrate": {
|
||||
|
@ -48,7 +48,7 @@
|
|||
},
|
||||
"@calcom/web#start": {
|
||||
"cache": false,
|
||||
"dependsOn": ["@calcom/prisma#db-deploy"],
|
||||
"dependsOn": [],
|
||||
"outputs": []
|
||||
},
|
||||
"@calcom/website#build": {
|
||||
|
@ -242,6 +242,7 @@
|
|||
"$PLAYWRIGHT_HEADLESS",
|
||||
"$PLAYWRIGHT_TEST_BASE_URL",
|
||||
"$PRISMA_FIELD_ENCRYPTION_KEY",
|
||||
"$PRISMA_GENERATE_DATAPROXY",
|
||||
"$QUICK",
|
||||
"$RAILWAY_STATIC_URL",
|
||||
"$SALESFORCE_CONSUMER_KEY",
|
||||
|
|
Loading…
Reference in New Issue